summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post-listings.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-08-28 18:43:51 -0700
committerDessalines <tyhou13@gmx.com>2019-08-28 18:43:51 -0700
commit465f5080c0c90249f155d8ff8978f061005713cc (patch)
tree254075c2d4025ef1c957fdfe39bdc75665e30203 /ui/src/components/post-listings.tsx
parentf137c738859e508a377f9709934ccf27849ec28d (diff)
Adding some UI suggestions.
- Adding divider lines in between post listings. - Increasing button sizes. - Fixes #222
Diffstat (limited to 'ui/src/components/post-listings.tsx')
-rw-r--r--ui/src/components/post-listings.tsx6
1 files changed, 5 insertions, 1 deletions
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<PostListingsProps, any> {
return (
<div>
{this.props.posts.length > 0 ? this.props.posts.map(post =>
- <PostListing post={post} showCommunity={this.props.showCommunity} />) :
+ <>
+ <PostListing post={post} showCommunity={this.props.showCommunity} />
+ <hr class="my-2" />
+ </>
+ ) :
<>
<div><T i18nKey="no_posts">#</T></div>
{this.props.showCommunity !== undefined && <div><T i18nKey="subscribe_to_communities">#<Link to="/communities">#</Link></T></div>}