summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post-listing.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-02-02 12:56:07 -0500
committerDessalines <tyhou13@gmx.com>2020-02-02 12:56:07 -0500
commit23daba54b4dbc3220effaa5d55042db5398cde43 (patch)
tree18e25cdaffcd472fc6585abf61fa21e525301002 /ui/src/components/post-listing.tsx
parent606fb9d326c7d788a5dce9bb69e390aead88862d (diff)
parent142b19bf868e2dde691e3fbf3c61b1adbbea10af (diff)
Merge branch 'dev' into richardj-feature/frontend-a11y
Diffstat (limited to 'ui/src/components/post-listing.tsx')
-rw-r--r--ui/src/components/post-listing.tsx4
1 files changed, 2 insertions, 2 deletions
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)}