Fix the alignment of buttons
authorAlexander Ebert <ebert@woltlab.com>
Tue, 22 Aug 2023 12:59:48 +0000 (14:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 22 Aug 2023 12:59:48 +0000 (14:59 +0200)
The box model was changed from `display: inline-block` to `display: inline-flex` in dbd859e1188d4db51b8f40b22e413109131caed3

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

index 420b722877ee6c10d6fc3b9a413617004ce03b91..5e208b95c2ea02779a6d2a69702ec75bb77cc7b1 100644 (file)
@@ -31,9 +31,9 @@ a.button {
        cursor: pointer;
        display: inline-flex;
        font-weight: 400;
+       justify-content: center;
        margin: 0;
        padding: 8px 18px;
-       text-align: center;
        text-decoration: none;
 
        // input elements do not inherit font family, size and line-height from body