Force button labels to be centered when wrapping
authorAlexander Ebert <ebert@woltlab.com>
Thu, 28 Sep 2023 16:44:07 +0000 (18:44 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 28 Sep 2023 16:44:07 +0000 (18:44 +0200)
See https://www.woltlab.com/community/thread/301793-new-conversation-wrong-button-display/

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

index 72442f434ef1eeb67836309308196753d3158c67..c51a292986cbc1715af526e0594a79021ece8899 100644 (file)
@@ -34,6 +34,7 @@ a.button {
        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