From 65650c8ba765104f31c57059c056208c55b0eb9e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 16 Apr 2019 20:23:52 -0700 Subject: [PATCH] Adding better comment highlighting. Fixes #66 --- ui/src/components/comment-node.tsx | 4 ++-- ui/src/components/post-listing.tsx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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 - ? + + ? + : - - + -