From 6aefbf355e9ad9713e751c877a62d948a9aea02d Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 21 Apr 2019 17:27:39 -0700 Subject: [PATCH] Some chat styling --- ui/src/components/post.tsx | 6 +++--- ui/src/css/main.css | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/src/components/post.tsx b/ui/src/components/post.tsx index 9f489466..586bda75 100644 --- a/ui/src/components/post.tsx +++ b/ui/src/components/post.tsx @@ -80,7 +80,7 @@ export class Post extends Component { {this.state.loading ?
:
-
+
{ {this.sortRadios()} {this.commentsTree()}
-
+
{this.state.comments.length > 0 && this.newComments()}
-
+
{this.sidebar()}
diff --git a/ui/src/css/main.css b/ui/src/css/main.css index 832149f4..61e068cd 100644 --- a/ui/src/css/main.css +++ b/ui/src/css/main.css @@ -89,5 +89,9 @@ blockquote { .new-comments { max-height: 100vh; + overflow: hidden; +} + +.new-comments:hover { overflow-y: auto; } -- 2.44.1