From: Alexander Ebert Date: Thu, 6 Apr 2023 12:09:30 +0000 (+0200) Subject: Enforce the default box-sizing of buttons X-Git-Tag: 6.0.0_Alpha_1~284 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da44171a8399753d06a45bd01ecc300f658f152e;p=GitHub%2FWoltLab%2FWCF.git Enforce the default box-sizing of buttons The `inherit` value does not work well with `all: unset`, causing it to inherit the default value from the UA style sheet which is `content-box` instead of `border-box`. Fixes #5402 --- diff --git a/wcfsetup/install/files/style/ui/button.scss b/wcfsetup/install/files/style/ui/button.scss index 780b1952e0..387afc1d86 100644 --- a/wcfsetup/install/files/style/ui/button.scss +++ b/wcfsetup/install/files/style/ui/button.scss @@ -1,7 +1,7 @@ button { all: unset; - box-sizing: inherit; + box-sizing: border-box; min-width: 0; -webkit-user-select: none; user-select: none;