Skip to content

A platform for community discussion. Free, open, simple.

UX: Prevent long names from overflowing post

Kris8cff3c9bbc74
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;