From be63b08c3624b5961a4d2a8131a070fa3e85746b Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 27 Feb 2018 16:47:47 -0500 Subject: [PATCH] Truncate long category names in subcategory boxes --- app/assets/stylesheets/common/base/category-list.scss | 4 ++++ 1 file changed, 4 insertions(+) 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 {