From 93e7aa832cef8479f537f0b7715880d18c6b7ef0 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Mon, 6 Oct 2014 15:32:38 -0700 Subject: [PATCH] tweaks to has-category docked layout --- .../stylesheets/desktop/topic-post.scss | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 3b5bd9984..e9f6aeb15 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -540,12 +540,7 @@ iframe { } } -.extra-info.has-category { - h1 { - line-height: 1.0em; - } -} - +/* default docked header CSS for all topics, including those without categories */ .extra-info { h1 { margin: 5px 0 0 0; @@ -588,6 +583,18 @@ iframe { } +/* override docked header CSS for topics with categories */ +.extra-info.has-category { + h1 { + line-height: 1.1em; + margin: 0 0 2px 0; + } + star { + margin-top: 5px; + } +} + + .open >.dropdown-menu { display: block; }