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 ed62fcf5c..7a75d9e4d 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 14f2ee853..d386f9a8d 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 c76afd59d..e611f8d46 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 {