From bab5167566701b530ad014b2bccb7c219e006f3b Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Sun, 25 Jan 2015 00:33:48 -0800 Subject: [PATCH] tighten up suggested topic table layout --- app/assets/stylesheets/desktop/topic-post.scss | 18 ++++++++++++++++-- app/assets/stylesheets/desktop/topic.scss | 11 ----------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index c79492132..c7bbd7c6f 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -472,10 +472,24 @@ a.star { } } table { - box-shadow: none; - border-radius: 0; + table-layout: fixed; margin-top: 10px; } + .topics { + padding-bottom: 15px; + } + // this forces category to take less space in suggested topics + // as the poster list is not present at all there. + th.category { + width: 150px; + } +} + +#suggested-topics .topic-statuses .topic-status { + padding: 0; + i { + font-size:15px; + } } span.post-count { diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index 273e0240f..e9e2ecf45 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -210,17 +210,6 @@ a:hover.reply-new { } } -#suggested-topics .topic-statuses .topic-status { - padding: 0; - i { - font-size:15px; - } -} - -#suggested-topics .topics { - padding-bottom: 15px; -} - .heatmap-high {color: #fe7a15 !important;} .heatmap-med {color: #cf7721 !important;} .heatmap-low {color: #9b764f !important;}