From da44171a8399753d06a45bd01ecc300f658f152e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 6 Apr 2023 14:09:30 +0200 Subject: [PATCH] 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 --- wcfsetup/install/files/style/ui/button.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1