Increase the width of input fields in Firefox
authorAlexander Ebert <ebert@woltlab.com>
Thu, 16 Nov 2023 15:16:48 +0000 (16:16 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 16 Nov 2023 15:16:48 +0000 (16:16 +0100)
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

index eccf5e77dff7dcad02534c254c99718db76bcf69..6262a52edd2bb5fd3e87474224a497495bdb3baa 100644 (file)
@@ -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;
        }
 }