Skip to content

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

Truncate long category names in subcategory boxes

Krisbe63b08c3624
diff --git a/app/assets/stylesheets/common/base/category-list.scss b/app/assets/stylesheets/common/base/category-list.scss
index e44077875fb..739b577375f 100644
--- a/app/assets/stylesheets/common/base/category-list.scss
+++ b/app/assets/stylesheets/common/base/category-list.scss
@@ -103,6 +103,8 @@
line-height: $line-height-medium;
text-align: center;
color: $primary;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
}
@@ -116,6 +118,8 @@
h3 {
font-size: $font-up-2;
text-align: center;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.category-box-heading {