summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-09-11 17:20:57 -0700
committerDessalines <tyhou13@gmx.com>2019-09-11 17:20:57 -0700
commitc2ddbec504707e84ca54176e4cd85c9d44f44afa (patch)
tree561a0fa7df415f2f2ff5cd0164af8681fd530059 /ui/src/components/post.tsx
parent0eb7d6c30487b383720d8e0aa417926a37df3aef (diff)
Fixing tribute positioning issue, moving recent comments to top.
Diffstat (limited to 'ui/src/components/post.tsx')
-rw-r--r--ui/src/components/post.tsx4
1 files changed, 2 insertions, 2 deletions
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 =>