From 2286394f79fe0410a1343b7604bd25d9c498a6c3 Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Tue, 4 Feb 2020 11:29:54 -0500
Subject: Some corrections to total user points.

---
 ui/src/components/user.tsx | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'ui/src/components/user.tsx')

diff --git a/ui/src/components/user.tsx b/ui/src/components/user.tsx
index 329fff82..8f7b276f 100644
--- a/ui/src/components/user.tsx
+++ b/ui/src/components/user.tsx
@@ -356,11 +356,15 @@ export class User extends Component<any, UserState> {
             <div>
               {i18n.t('joined')} <MomentTime data={user} />
             </div>
-            <div>
-              {i18n.t('total_number_of_points', { count: (user.post_score + user.comment_score) })}
-            </div>
-            <div class="table-responsive">
+            <div class="table-responsive mt-1">
               <table class="table table-bordered table-sm mt-2 mb-0">
+                <tr>
+                  <td class="text-center" colSpan={2}>
+                    {i18n.t('number_of_points', {
+                      count: user.post_score + user.comment_score,
+                    })}
+                  </td>
+                </tr>
                 <tr>
                   <td>
                     {i18n.t('number_of_points', { count: user.post_score })}
-- 
cgit v1.2.3

