Adding score spacing, hiding user tags on thin screen.

This commit is contained in:
Dessalines 2020-03-19 20:56:21 -04:00
parent 47dd8acf54
commit b3066db08b

View 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)}