From 93ea88856800c7f5c795e1796d55f6c3a18c9153 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 24 Apr 2019 08:26:49 -0700 Subject: [PATCH] Better vote arrows --- ui/src/components/comment-node.tsx | 8 ++++++-- ui/src/components/post-listing.tsx | 10 +++++++--- ui/src/components/symbols.tsx | 8 ++++++++ 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index af44e41e..88d6476d 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -57,9 +57,13 @@ export class CommentNode extends Component { return (
-
▲
+
+ +
{node.comment.score}
-
▼
+
+ +
    diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 93e88071..73395fa8 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -58,11 +58,15 @@ export class PostListing extends Component { return (
    -
    ▲
    +
    + +
    {post.score}
    -
    ▼
    +
    + +
    -
    +
    {post.url ?
    {post.name} diff --git a/ui/src/components/symbols.tsx b/ui/src/components/symbols.tsx index e038b13c..1085a4da 100644 --- a/ui/src/components/symbols.tsx +++ b/ui/src/components/symbols.tsx @@ -10,6 +10,14 @@ export class Symbols extends Component { return (