From: Dessalines Date: Mon, 22 Apr 2019 00:27:39 +0000 (-0700) Subject: Some chat styling X-Git-Url: http://these/git/?a=commitdiff_plain;h=6aefbf355e9ad9713e751c877a62d948a9aea02d;p=lemmy.git Some chat styling --- 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; }