Skip to content

Commit

Permalink
Adding score spacing, hiding user tags on thin screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Mar 20, 2020
1 parent 47dd8ac commit b3066db
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ui/src/components/comment-node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)}
Expand Down Expand Up @@ -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)}
Expand Down

0 comments on commit b3066db

Please sign in to comment.