From: Luzifr Date: Fri, 16 Mar 2012 14:06:00 +0000 (+0100) Subject: Small optimizations X-Git-Tag: 2.0.0_Beta_1~1220 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6120d828a6c5b4da292d316001194828a4f53099;p=GitHub%2FWoltLab%2FWCF.git Small optimizations --- diff --git a/wcfsetup/install/files/style/wcf.less b/wcfsetup/install/files/style/wcf.less index 3c5b23c957..0a0d3e04e9 100644 --- a/wcfsetup/install/files/style/wcf.less +++ b/wcfsetup/install/files/style/wcf.less @@ -1973,10 +1973,6 @@ section.wcf-content:after { margin-top: 30px; } -.wcf-mainHeading > hgroup { - min-height: 48px; -} - .wcf-mainHeading > hgroup h1 { font-weight: bold; border-bottom: @borderWidth @borderStyle @borderColor1; @@ -2207,6 +2203,16 @@ dl > dd > small { display: block; } +input[type='checkbox'] ~ small, +input[type='radio'] ~ small { + margin-top: 0; + margin-left: 21px; +} + +dl > :not(dt) > label ~ small { + margin-left: 21px; +} + dl > dd > p { margin-top: 5px; } @@ -2317,12 +2323,6 @@ label { margin-top: 15px; } -input[type='checkbox'] ~ small, -input[type='radio'] ~ small { - margin-top: 0; - margin-left: 21px; -} - /* -- -- -- Form Elements -- -- -- */