From 888fa327839af6f3dde857debaba15a1886d7051 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 17 Aug 2019 18:59:59 -0700 Subject: [PATCH] Trying some extra spacing. --- ui/src/components/comment-form.tsx | 2 +- ui/src/components/post-listing.tsx | 4 ++-- ui/src/css/main.css | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ui/src/components/comment-form.tsx b/ui/src/components/comment-form.tsx index ed62fcf5..7a75d9e4 100644 --- a/ui/src/components/comment-form.tsx +++ b/ui/src/components/comment-form.tsx @@ -56,7 +56,7 @@ export class CommentForm extends Component { render() { return ( -
+
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 14f2ee85..d386f9a8 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -73,12 +73,12 @@ export class PostListing extends Component { }
-
+
{post.url ? {post.name} : {post.name} } -
+ {post.url && {(new URL(post.url)).hostname} diff --git a/ui/src/css/main.css b/ui/src/css/main.css index c76afd59..e611f8d4 100644 --- a/ui/src/css/main.css +++ b/ui/src/css/main.css @@ -59,8 +59,9 @@ body, .text-white, .navbar-brand, .badge-light, .btn-secondary { height: auto; } -.listing { +.listing, .comment { min-height: 61px; + margin-bottom: 10px; } .icon {