From 304b96aa8197b61522e0b608b6fd0aebfbf1b35a Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Fri, 21 Nov 2014 11:40:11 -0800 Subject: [PATCH] UX: suppress long cat names in cat drop down too --- .../stylesheets/common/base/_topic-list.scss | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index c0d5c9a157d..29ee46e0081 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -102,6 +102,13 @@ } } + td.category a { + // suppress extra long category names in tables + max-width:150px; + overflow:hidden; + text-overflow:ellipsis; + } + } @@ -122,12 +129,6 @@ padding-top: 15px; padding-bottom: 15px; border-left: 6px solid; - // suppress extra long category names in tables - a { - max-width:150px; - overflow:hidden; - text-overflow:ellipsis; - } } td.stats { .unit { @@ -228,15 +229,16 @@ ol.category-breadcrumb { a.badge-category { font-size: 13px; font-weight: bold; - padding: 4px 0; float: none; line-height: 19px; text-transform: none; width: 100%; min-width: 102px; - text-align: center; margin-right: 20px; - margin-bottom: 7px; + margin-bottom: 0; + max-width:200px; + overflow:hidden; + text-overflow:ellipsis; } }