From 635d928c17a1233b8492b1a8756358e3e2a1b9ec Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 16 Nov 2023 16:16:48 +0100 Subject: [PATCH] Increase the width of input fields in Firefox See https://www.woltlab.com/community/thread/302782-acp-farbw%C3%A4hler-werte-in-farbfeldern-in-firefox-abgeschnitten/ --- wcfsetup/install/files/style/ui/colorPicker.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/style/ui/colorPicker.scss b/wcfsetup/install/files/style/ui/colorPicker.scss index eccf5e77df..6262a52edd 100644 --- a/wcfsetup/install/files/style/ui/colorPicker.scss +++ b/wcfsetup/install/files/style/ui/colorPicker.scss @@ -59,6 +59,8 @@ input[type="number"] { padding: 4px; text-align: center; + /* Firefox requires those fields to be wider due to the overlapping controls. */ + width: 6ch; } } -- 2.20.1