Force buttons to be of equal width
authorAlexander Ebert <ebert@woltlab.com>
Tue, 8 Aug 2023 17:56:10 +0000 (19:56 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 8 Aug 2023 17:56:10 +0000 (19:56 +0200)
See https://www.woltlab.com/community/thread/301022-buttons-with-different-sizes-in-the-mobile-resolution/

wcfsetup/install/files/style/ui/tabMenuMessage.scss

index 1736ff677097ea2b0b6666f0337ef54d5b899a07..2d9e26a1a08222496a00798aeae0aba93ce2ea9a 100644 (file)
 @include screen-xs {
        .messageTabMenu + .formSubmit,
        .messageFooter .formSubmit {
+               column-gap: 10px;
                display: grid;
+               grid-auto-columns: 1fr;
                grid-auto-flow: column;
+
+               .button {
+                       margin-left: 0;
+                       margin-right: 0;
+               }
        }
 }