From: Alexander Ebert Date: Sat, 7 May 2022 14:59:03 +0000 (+0200) Subject: Incorrect margin of `.formSubmit` in dialogs X-Git-Tag: 5.5.0_Beta_1~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94a28ca16a242eed54bbb3dc06fdcaaab3100201;p=GitHub%2FWoltLab%2FWCF.git Incorrect margin of `.formSubmit` in dialogs This was caused by the negative margin introduced in 1d224f10cdd05e7f5d09f869ee1fbbbdff025749 which caused the calculation to be off by 10px, causing a visible gap. See https://www.woltlab.com/community/thread/295497-fehlerhafte-mobile-darstellung-von-dialogen/ --- diff --git a/wcfsetup/install/files/style/ui/dialog.scss b/wcfsetup/install/files/style/ui/dialog.scss index 1a08264c8a..e45883b324 100644 --- a/wcfsetup/install/files/style/ui/dialog.scss +++ b/wcfsetup/install/files/style/ui/dialog.scss @@ -168,15 +168,10 @@ border-top: 1px solid $wcfContentBorderInner; bottom: 0; left: 0; - padding: 10px; + margin-bottom: 0; + padding: 10px 10px 0 10px; position: absolute; right: 0; - - @include screen-sm-up { - /* this reverts the negative margin introduced by `.formSubmit` */ - margin-bottom: 0; - padding-bottom: 0; - } } .section {