From 1632d6f23fa90a4fe77a49945620f14361194717 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 9f489466b..586bda75a 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 832149f44..61e068cdb 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; }