From 41b01d879ce2c93d16f7d2ce4c401bf623e112b9 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 20 Jul 2013 22:22:02 +0200 Subject: [PATCH] Small style optimization --- wcfsetup/install/files/style/message.less | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/wcfsetup/install/files/style/message.less b/wcfsetup/install/files/style/message.less index 75152d3833..fa585a7ba4 100644 --- a/wcfsetup/install/files/style/message.less +++ b/wcfsetup/install/files/style/message.less @@ -429,18 +429,10 @@ } } -.message .messageBody { +.messageBody { color: @wcfColor; display: block; line-height: 1.5; - padding: @wcfGapMedium @wcfGapLarge 1px; - /*position: relative;*/ - - > div:not(.messageFooter) { - border-top: 1px dotted @wcfContainerBorderColor; - overflow: hidden; - padding: @wcfGapMedium 0; - } > footer { padding-bottom: @wcfGapMedium; @@ -467,6 +459,17 @@ } } +.messageHeader + .messageBody > div, +.messageBody > div:not(.messageFooter):not(:first-child) { + border-top: 1px dotted @wcfContainerBorderColor; + overflow: hidden; + padding: @wcfGapMedium 0; +} + +.message .messageBody { + padding: @wcfGapMedium @wcfGapLarge 1px; +} + .message .messageContent { background-color: @wcfContainerBackgroundColor; -- 2.20.1