From: Alexander Ebert Date: Tue, 12 Sep 2017 14:56:46 +0000 (+0200) Subject: Fixed some edge cases related to section styles X-Git-Tag: 3.1.0_Alpha_4~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2b9033bca80e5bbe08fd14b75b5ed2817daed7e;p=GitHub%2FWoltLab%2FWCF.git Fixed some edge cases related to section styles --- diff --git a/wcfsetup/install/files/style/ui/wsc31.scss b/wcfsetup/install/files/style/ui/wsc31.scss index ff8fd95bdc..6ffb1c1c5a 100644 --- a/wcfsetup/install/files/style/ui/wsc31.scss +++ b/wcfsetup/install/files/style/ui/wsc31.scss @@ -29,8 +29,14 @@ padding: 10px; } - .section { + > .section:first-child { margin-top: 0; + } + + .section { + &:not(:first-child) { + margin-top: 0; + } & + .section { margin-top: 40px;