From 8cff3c9bbc7428011f7d83f5e5dd73abb684d995 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 5 Sep 2018 17:48:31 -0400 Subject: [PATCH] UX: Prevent long names from overflowing post --- app/assets/stylesheets/common/base/topic-post.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 1f706e20594..d71315f7ce5 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -15,6 +15,8 @@ } .names { + flex: 1 1 auto; + overflow: hidden; span.first { font-weight: bold; } @@ -23,7 +25,6 @@ font-size: $font-0; margin-right: 8px; display: inline-block; - max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;