summaryrefslogtreecommitdiffstats
path: root/ui/src
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src')
-rw-r--r--ui/src/components/comment-node.tsx4
-rw-r--r--ui/src/components/post-listing.tsx4
-rw-r--r--ui/src/utils.ts1
3 files changed, 5 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)}
diff --git a/ui/src/utils.ts b/ui/src/utils.ts
index 0ec29114..bf292b00 100644
--- a/ui/src/utils.ts
+++ b/ui/src/utils.ts
@@ -318,6 +318,7 @@ export function getMomentLanguage(): string {
export const themes = [
'litera',
+ 'materia',
'minty',
'solar',
'united',