summaryrefslogtreecommitdiffstats
path: root/ui/src/components/comment-node.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-02-01 14:44:26 -0500
committerDessalines <tyhou13@gmx.com>2020-02-01 14:44:26 -0500
commit12cbb20d282c910c86fb7154396f57483f1fb833 (patch)
treec34b2a82d438fea0f4724be55db0cad860040bdc /ui/src/components/comment-node.tsx
parentcb1acd2cf07f54b6f7510dec46131e5b5f4c5d30 (diff)
Adding materia theme. Fixes #478
Diffstat (limited to 'ui/src/components/comment-node.tsx')
-rw-r--r--ui/src/components/comment-node.tsx4
1 files changed, 2 insertions, 2 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)}