From 94a28ca16a242eed54bbb3dc06fdcaaab3100201 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 7 May 2022 16:59:03 +0200 Subject: [PATCH] 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/ --- wcfsetup/install/files/style/ui/dialog.scss | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 { -- 2.20.1