From: Dessalines Date: Wed, 17 Apr 2019 03:23:52 +0000 (-0700) Subject: Adding better comment highlighting. X-Git-Url: http://these/git/?a=commitdiff_plain;h=57e274c87a1bb57991e56c1670db2df6dc78f117;p=lemmy.git Adding better comment highlighting. Fixes #66 --- diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index 1fba1d92..dcfb18a9 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -49,13 +49,13 @@ export class CommentNode extends Component { render() { let node = this.props.node; return ( -
+
▲
{node.comment.score}
▼
-
+
  • {node.comment.creator_name} diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 46e2a994..1a52bf79 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -63,7 +63,7 @@ export class PostListing extends Component {
    {post.url ?
    -

    {post.name} +

    {post.name} {post.removed && removed } @@ -71,12 +71,12 @@ export class PostListing extends Component { locked }

    - {(new URL(post.url)).hostname} + {(new URL(post.url)).hostname} { !this.state.iframeExpanded - ? + + ? + : - - + -