From 7b7eb10a15c0ec2c4d09ba923f2cdab0edcb9f93 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 9 Mar 2016 18:12:38 +0100 Subject: [PATCH] Fixed some margins --- wcfsetup/install/files/style/element/dl.scss | 30 +++++++++---------- .../install/files/style/layout/content.scss | 4 +++ 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/wcfsetup/install/files/style/element/dl.scss b/wcfsetup/install/files/style/element/dl.scss index bcab9e0f32..64ceb13add 100644 --- a/wcfsetup/install/files/style/element/dl.scss +++ b/wcfsetup/install/files/style/element/dl.scss @@ -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 { diff --git a/wcfsetup/install/files/style/layout/content.scss b/wcfsetup/install/files/style/layout/content.scss index 546ca453bd..fad0ccf535 100644 --- a/wcfsetup/install/files/style/layout/content.scss +++ b/wcfsetup/install/files/style/layout/content.scss @@ -108,6 +108,10 @@ > .sectionHeader, > .sectionTitle { margin-bottom: 20px; + + + .section { + margin-top: 20px; + } } &:not(.sectionContainerList) { -- 2.20.1