From c2ddbec504707e84ca54176e4cd85c9d44f44afa Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Wed, 11 Sep 2019 17:20:57 -0700
Subject: Fixing tribute positioning issue, moving recent comments to top.

---
 ui/src/components/post.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/ui/src/components/post.tsx b/ui/src/components/post.tsx
index 7e2dbd62..5047d20b 100644
--- a/ui/src/components/post.tsx
+++ b/ui/src/components/post.tsx
@@ -140,8 +140,8 @@ export class Post extends Component<any, PostState> {
               {this.commentsTree()}
             </div>
             <div class="col-12 col-sm-12 col-md-4">
-              {this.sidebar()}
               {this.state.comments.length > 0 && this.newComments()}
+              {this.sidebar()}
             </div>
           </div>
         }
@@ -173,7 +173,7 @@ export class Post extends Component<any, PostState> {
 
   newComments() {
     return (
-      <div class="d-none d-md-block sticky-top new-comments card border-secondary">
+      <div class="d-none d-md-block new-comments mb-3 card border-secondary">
         <div class="card-body small">
           <h6><T i18nKey="recent_comments">#</T></h6>
           {this.state.comments.map(comment => 
-- 
cgit v1.2.3

