diff options
Diffstat (limited to 'ui/src/components')
-rw-r--r-- | ui/src/components/comment-node.tsx | 4 | ||||
-rw-r--r-- | ui/src/components/post-listing.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index a42d096e..76a4c30e 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -117,7 +117,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> { .viewOnly && 'no-click'}`} > <button - className={`btn p-0 ${ + className={`btn btn-link p-0 ${ node.comment.my_vote == 1 ? 'text-info' : 'text-muted' }`} onClick={linkEvent(node, this.handleCommentUpvote)} @@ -137,7 +137,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> { </div> {WebSocketService.Instance.site.enable_downvotes && ( <button - className={`btn p-0 ${ + className={`btn btn-link p-0 ${ node.comment.my_vote == -1 ? 'text-danger' : 'text-muted' }`} onClick={linkEvent(node, this.handleCommentDownvote)} diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 21037453..cb2e7316 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -119,7 +119,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { <div class="listing col-12"> <div className={`vote-bar mr-2 float-left small text-center`}> <button - className={`btn p-0 ${ + className={`btn btn-link p-0 ${ post.my_vote == 1 ? 'text-info' : 'text-muted' }`} onClick={linkEvent(this, this.handlePostLike)} @@ -137,7 +137,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { <div class={`font-weight-bold text-muted`}>{post.score}</div> {WebSocketService.Instance.site.enable_downvotes && ( <button - className={`btn p-0 ${ + className={`btn btn-link p-0 ${ post.my_vote == -1 ? 'text-danger' : 'text-muted' }`} onClick={linkEvent(this, this.handlePostDisLike)} |