|
|
|
@ -65,7 +65,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
|
|
|
|
|
let node = this.props.node;
|
|
|
|
|
return (
|
|
|
|
|
<div className={`comment ${node.comment.parent_id && !this.props.noIndent ? 'ml-4' : ''}`}>
|
|
|
|
|
<div className={`vote-bar mr-1 float-left small text-center ${this.props.viewOnly && 'no-click'}`}>
|
|
|
|
|
<div className={`vote-bar mr-2 float-left small text-center ${this.props.viewOnly && 'no-click'}`}>
|
|
|
|
|
<button className={`btn p-0 ${node.comment.my_vote == 1 ? 'text-info' : 'text-muted'}`} onClick={linkEvent(node, this.handleCommentLike)}>
|
|
|
|
|
<svg class="icon upvote"><use xlinkHref="#icon-arrow-up"></use></svg>
|
|
|
|
|
</button>
|
|
|
|
|