Fixed some margins
authorMarcel Werk <burntime@woltlab.com>
Wed, 9 Mar 2016 17:12:38 +0000 (18:12 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 9 Mar 2016 17:12:43 +0000 (18:12 +0100)
wcfsetup/install/files/style/element/dl.scss
wcfsetup/install/files/style/layout/content.scss

index bcab9e0f3219b6c1af828dc4f87c5c71852e68d9..64ceb13add629c0f4ddd45cd91b3049c8e3cab73 100644 (file)
@@ -19,22 +19,8 @@ dl {
                > dd {
                        display: block;
                        
-                       &.floated {
-                               display: flex;
-                               flex-wrap: wrap;
-                               
-                               > label {
-                                       flex: 0 0 auto;
-                                       margin: 0 10px 5px 0;
-                                       
-                                       &:last-child {
-                                               margin-right: 0;
-                                       }
-                               }
-                       }
-                       
                        &:not(:last-child) {
-                               margin-bottom: 10px;
+                               margin-bottom: 20px;
                        }
                        
                        > small:not(.innerError) {
@@ -55,6 +41,20 @@ dl {
                        > label:not(:first-child) {
                                margin-top: 3px;
                        }
+                       
+                       &.floated {
+                               display: flex;
+                               flex-wrap: wrap;
+                               
+                               > label {
+                                       flex: 0 0 auto;
+                                       margin: 0 10px 5px 0;
+                                       
+                                       &:last-child {
+                                               margin-right: 0;
+                                       }
+                               }
+                       }
                }
                
                &.wide > dt {
index 546ca453bd815872f6cdeebb2d065d9aee6ada91..fad0ccf53560c6427409c4c84ba6c51bc11355ee 100644 (file)
        > .sectionHeader,
        > .sectionTitle {
                margin-bottom: 20px;
+               
+               + .section {
+                       margin-top: 20px;
+               }       
        }
        
        &:not(.sectionContainerList) {