]> Untitled Git - lemmy.git/commitdiff
Adding score spacing, hiding user tags on thin screen.
authorDessalines <tyhou13@gmx.com>
Fri, 20 Mar 2020 00:56:21 +0000 (20:56 -0400)
committerDessalines <tyhou13@gmx.com>
Fri, 20 Mar 2020 00:56:21 +0000 (20:56 -0400)
ui/src/components/comment-node.tsx

index 8809c5b740853ebf32765a96de5219d85fee56f0..d5d872f536a601572d14f776706cfdd814c20023 100644 (file)
@@ -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)}