From e71637bc92795af907926205a5f859ef06fe162f 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 af44e41..88d6476 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 93e8807..73395fa 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 e038b13..1085a4d 100644 --- a/ui/src/components/symbols.tsx +++ b/ui/src/components/symbols.tsx @@ -10,6 +10,14 @@ export class Symbols extends Component { return (