summaryrefslogtreecommitdiffstats
path: root/ui/src/components/comment-node.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-03-19 20:56:21 -0400
committerDessalines <tyhou13@gmx.com>2020-03-19 20:56:21 -0400
commitb3066db08b2c71b882f03228fd280a236c19eeef (patch)
treef1ba8a6a8b96d6784ac20db2afae9605cb92d86b /ui/src/components/comment-node.tsx
parent47dd8acf54bf648fd374aac2fa611ca008919284 (diff)
Adding score spacing, hiding user tags on thin screen.
Diffstat (limited to 'ui/src/components/comment-node.tsx')
-rw-r--r--ui/src/components/comment-node.tsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx
index 8809c5b7..d5d872f5 100644
--- a/ui/src/components/comment-node.tsx
+++ b/ui/src/components/comment-node.tsx
@@ -166,17 +166,17 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
</Link>
</li>
{this.isMod && (
- <li className="list-inline-item badge badge-light">
+ <li className="list-inline-item badge badge-light d-none d-sm-inline">
{i18n.t('mod')}
</li>
)}
{this.isAdmin && (
- <li className="list-inline-item badge badge-light">
+ <li className="list-inline-item badge badge-light d-none d-sm-inline">
{i18n.t('admin')}
</li>
)}
{this.isPostCreator && (
- <li className="list-inline-item badge badge-light">
+ <li className="list-inline-item badge badge-light d-none d-sm-inline">
{i18n.t('creator')}
</li>
)}
@@ -209,8 +209,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
</Link>
</li>
)}
- <li className="list-inline-item">•</li>
- <li className="list-inline-item">
+ <li className="ml-3 list-inline-item">
<span
className={`unselectable pointer ${this.scoreColor}`}
onClick={linkEvent(node, this.handleCommentUpvote)}