diff options
Diffstat (limited to 'ui/src/components/post-listing.tsx')
-rw-r--r-- | ui/src/components/post-listing.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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)} |