Incorrect margin of `.formSubmit` in dialogs
authorAlexander Ebert <ebert@woltlab.com>
Sat, 7 May 2022 14:59:03 +0000 (16:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 7 May 2022 14:59:03 +0000 (16:59 +0200)
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

index 1a08264c8a12f408b2b98ec9efce712817b56248..e45883b324741bd93da44c7506f7fd04363f5c3e 100644 (file)
                        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 {