From: Alexander Ebert Date: Tue, 9 May 2023 13:11:56 +0000 (+0200) Subject: Strip the `margin-top` of the first section in dialogs X-Git-Tag: 6.0.0_Alpha_1~131 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbd71759656332d0ae589b9be9cb5020cf8a288a;p=GitHub%2FWoltLab%2FWCF.git Strip the `margin-top` of the first section in dialogs Fixes #5484 --- diff --git a/wcfsetup/install/files/style/ui/dialog.scss b/wcfsetup/install/files/style/ui/dialog.scss index 1d44df76de..e96f4c27ff 100644 --- a/wcfsetup/install/files/style/ui/dialog.scss +++ b/wcfsetup/install/files/style/ui/dialog.scss @@ -410,6 +410,11 @@ padding-bottom: 0; } + > .section:first-child, + > form > .section:first-child { + margin-top: 0; + } + .section:not(:first-child) { border-top: 1px solid var(--wcfContentBorderInner); margin-top: 20px;