diff --git a/app/assets/stylesheets/common/base/topic.scss b/app/assets/stylesheets/common/base/topic.scss index a75a428a38f..93a634f55a8 100644 --- a/app/assets/stylesheets/common/base/topic.scss +++ b/app/assets/stylesheets/common/base/topic.scss @@ -61,6 +61,11 @@ line-height: 0.8; } +#suggested-topics .badge-wrapper.bullet span.badge-category, +#suggested-topics .badge-wrapper.bar span.badge-category { + max-width: 150px; +} + .topic-unsubscribe { .notification-options { display: inline-block; diff --git a/app/assets/stylesheets/common/components/badges.css.scss b/app/assets/stylesheets/common/components/badges.css.scss index 6cad8c10294..3f5239d1fe8 100644 --- a/app/assets/stylesheets/common/components/badges.css.scss +++ b/app/assets/stylesheets/common/components/badges.css.scss @@ -32,6 +32,8 @@ vertical-align: text-top; margin-top: -3px; //vertical alignment fix display: inline-block; + overflow: hidden; + text-overflow: ellipsis; .extra-info-wrapper & { color: $header-primary !important;