From 52f79e8096aab9c11d069e1a84d1195268bf9b26 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Fri, 5 Apr 2013 13:43:40 -0700 Subject: [PATCH] 1st child in post body blockquotes, no top margin --- app/assets/stylesheets/application/topic-post.css.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/application/topic-post.css.scss b/app/assets/stylesheets/application/topic-post.css.scss index bf175e48cd0..62a06a57590 100644 --- a/app/assets/stylesheets/application/topic-post.css.scss +++ b/app/assets/stylesheets/application/topic-post.css.scss @@ -602,6 +602,11 @@ margin-top: 0px !important; } + // ditto for blockquotes, no extra margin for first element inside please + .cooked > blockquote *:first-child { + margin-top: 0px !important; + } + .cooked { // set up proper header margins in posts h1, h2, h3, h4, h5, h6 {