From: Dessalines Date: Thu, 29 Aug 2019 01:43:51 +0000 (-0700) Subject: Adding some UI suggestions. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/save/%24%7BencodeURIComponent%28url%29%7D%60%7D?a=commitdiff_plain;h=465f5080c0c90249f155d8ff8978f061005713cc;p=lemmy.git Adding some UI suggestions. - Adding divider lines in between post listings. - Increasing button sizes. - Fixes #222 --- diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index f518da90..785e3107 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -62,11 +62,11 @@ 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 0b9cc3e1..b513d077 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -60,11 +60,11 @@ export class PostListing extends Component { return (
-
{post.score}
-
diff --git a/ui/src/components/post-listings.tsx b/ui/src/components/post-listings.tsx index f5682a7e..5dd62739 100644 --- a/ui/src/components/post-listings.tsx +++ b/ui/src/components/post-listings.tsx @@ -19,7 +19,11 @@ export class PostListings extends Component { return (
{this.props.posts.length > 0 ? this.props.posts.map(post => - ) : + <> + +
+ + ) : <>
#
{this.props.showCommunity !== undefined &&
##
} diff --git a/ui/src/css/main.css b/ui/src/css/main.css index cc8eb481..536cbc64 100644 --- a/ui/src/css/main.css +++ b/ui/src/css/main.css @@ -63,7 +63,7 @@ body, .text-white, .navbar-brand, .badge-light, .btn-secondary { height: auto; } -.listing, .comment-node { +.comment-node { margin-bottom: 10px; }