From d76d3af70950ba0e5111047daefe493a40a08348 Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Tue, 9 Sep 2014 18:01:02 +0200 Subject: [PATCH] limits explicit height for flash boxes to absolute-layout-mode Kudos for this goes to myabc. --- app/assets/stylesheets/content/_flash_messages.sass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/content/_flash_messages.sass b/app/assets/stylesheets/content/_flash_messages.sass index e8a5f1bce3..9dc8a29fb6 100644 --- a/app/assets/stylesheets/content/_flash_messages.sass +++ b/app/assets/stylesheets/content/_flash_messages.sass @@ -31,7 +31,9 @@ padding: 4px margin: 0 0 10px 0 color: $content_flash_msg_font_color - height: $content-flash-height + + %absolute-layout-mode & + height: $content-flash-height div.flash.error a:link, div.flash.warning a:link, div.flash.notice a:link, #errorExplanation a:link, div.flash.error a:hover, div.flash.warning a:hover, div.flash.notice a:hover, #errorExplanation a:hover