Removing comment node other score colors for clarity.

This commit is contained in:
Dessalines 2020-03-04 14:18:13 -05:00
parent f601d6cd03
commit 43f783db42

View file

@ -182,27 +182,23 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
> >
<li className="list-inline-item"> <li className="list-inline-item">
<span className={this.scoreColor}> <span className={this.scoreColor}>
<svg class="small icon icon-inline mr-1"> <svg className="small icon icon-inline mr-1">
<use xlinkHref="#icon-zap"></use> <use xlinkHref="#icon-zap"></use>
</svg> </svg>
{this.state.score} {this.state.score}
</span> </span>
</li> </li>
<li className="list-inline-item"> <li className="list-inline-item">
<span className="text-info"> <svg class="small icon icon-inline mr-1">
<svg class="small icon icon-inline mr-1"> <use xlinkHref="#icon-arrow-up"></use>
<use xlinkHref="#icon-arrow-up"></use> </svg>
</svg> {this.state.upvotes}
{this.state.upvotes}
</span>
</li> </li>
<li className="list-inline-item"> <li className="list-inline-item">
<span className="text-danger"> <svg class="small icon icon-inline mr-1">
<svg class="small icon icon-inline mr-1"> <use xlinkHref="#icon-arrow-down"></use>
<use xlinkHref="#icon-arrow-down"></use> </svg>
</svg> {this.state.downvotes}
{this.state.downvotes}
</span>
</li> </li>
</span> </span>
{this.props.showCommunity && ( {this.props.showCommunity && (