Fixed some edge cases related to section styles
authorAlexander Ebert <ebert@woltlab.com>
Tue, 12 Sep 2017 14:56:46 +0000 (16:56 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 12 Sep 2017 14:56:46 +0000 (16:56 +0200)
wcfsetup/install/files/style/ui/wsc31.scss

index ff8fd95bdc57376055e66cb68a3cfec2c810a143..6ffb1c1c5af9f2fcdeb7533a9d06e264784a4f40 100644 (file)
                        padding: 10px;
                }
                
-               .section {
+               > .section:first-child {
                        margin-top: 0;
+               }
+               
+               .section {
+                       &:not(:first-child) {
+                               margin-top: 0;
+                       }
                        
                        & + .section {
                                margin-top: 40px;