From 0503599de707bc3d84c044a22351efb9779036b7 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Tue, 2 Dec 2014 00:19:42 -0800 Subject: [PATCH] suppress long category names on mobile --- app/assets/stylesheets/mobile/topic-list.scss | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index 726865574ae..6d61c1f956d 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -58,12 +58,14 @@ .topic-item-stats { margin-top: 8px; - } - - .topic-item-stats { .category, .num, .last-poster { float: left; } + .category a { + max-width: 200px; + overflow: hidden; + text-overflow: ellipsis; + } .num .fa { color: scale-color($primary, $lightness: 50%); } @@ -261,9 +263,7 @@ tr.category-topic-link:nth-of-type(odd) { } ol.category-breadcrumb { - margin: 5px 10px 0 0; - } .category-dropdown-menu { @@ -274,10 +274,6 @@ ol.category-breadcrumb { line-height: 26px !important; margin-bottom: 0 !important; } - - div { - margin-bottom: 10px; - } } .top-lists {