From: Dessalines Date: Wed, 24 Apr 2019 15:26:49 +0000 (-0700) Subject: Better vote arrows X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%22?a=commitdiff_plain;h=93ea88856800c7f5c795e1796d55f6c3a18c9153;p=lemmy.git Better vote arrows --- 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 (