Removing comment node other score colors for clarity.
This commit is contained in:
parent
f601d6cd03
commit
43f783db42
1 changed files with 9 additions and 13 deletions
22
ui/src/components/comment-node.tsx
vendored
22
ui/src/components/comment-node.tsx
vendored
|
@ -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 && (
|
||||||
|
|
Reference in a new issue