diff options
author | Dessalines <tyhou13@gmx.com> | 2020-02-02 09:15:02 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-02-02 09:15:02 -0500 |
commit | 4d95be06b5145abdcb4f360439623269468dee35 (patch) | |
tree | 792d3758c87aabe209dc65142eae99a22d7ca366 /ui/src/components | |
parent | 9f2b61708e21aed39526ec68f9f23c6ba4602491 (diff) | |
parent | e8a604d0edddecc54c6180ac19b629ffdaab622f (diff) |
Merge branch 'dev' into websocket_scopes
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 c9a29e87..2a2463a9 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)} |