Fix hardcoded border-radius for some buttons
authorMarcel Werk <burntime@woltlab.com>
Fri, 19 Apr 2024 15:05:58 +0000 (17:05 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 19 Apr 2024 15:05:58 +0000 (17:05 +0200)
Closes #5877

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

index c51a292986cbc1715af526e0594a79021ece8899..ff1b65bdbb3cb582c6492ee6819bd2ec53135072 100644 (file)
@@ -212,13 +212,13 @@ a.button {
                }
 
                &:first-child .button {
-                       border-top-left-radius: 2px;
-                       border-bottom-left-radius: 2px;
+                       border-top-left-radius: var(--wcfBorderRadius);
+                       border-bottom-left-radius: var(--wcfBorderRadius);
                }
 
                &:last-child .button {
-                       border-top-right-radius: 2px;
-                       border-bottom-right-radius: 2px;
+                       border-top-right-radius: var(--wcfBorderRadius);
+                       border-bottom-right-radius: var(--wcfBorderRadius);
                }
 
                .button {
index 8e9bf376f3c9d7e62dc7b1c18081d6d8f9357f42..5f9cf2f65e61a245971657891dc85c8287c18dd5 100644 (file)
                        }
 
                        .button.reactButton {
-                               border-radius: 2px;
+                               border-radius: var(--wcfBorderRadius);
                        }
                }
        }