Adding score spacing, hiding user tags on thin screen.

This commit is contained in:
Dessalines 2020-03-19 20:56:21 -04:00
parent 763c2a4610
commit 4e8d6a551f

View file

@ -166,17 +166,17 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
</Link> </Link>
</li> </li>
{this.isMod && ( {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')} {i18n.t('mod')}
</li> </li>
)} )}
{this.isAdmin && ( {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')} {i18n.t('admin')}
</li> </li>
)} )}
{this.isPostCreator && ( {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')} {i18n.t('creator')}
</li> </li>
)} )}
@ -209,8 +209,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
</Link> </Link>
</li> </li>
)} )}
<li className="list-inline-item"></li> <li className="ml-3 list-inline-item">
<li className="list-inline-item">
<span <span
className={`unselectable pointer ${this.scoreColor}`} className={`unselectable pointer ${this.scoreColor}`}
onClick={linkEvent(node, this.handleCommentUpvote)} onClick={linkEvent(node, this.handleCommentUpvote)}