Fix settings panel layout on small screens

Both labels and inputs protruded outside the panel on for example a
phone in portrait mode. This commit fixes that by allowing wrapping and
setting a max-width.

Since the --input-xpadding variable is now used in two different CSS
files, it was moved to constants.css.
This commit is contained in:
Samuel Mannehed
2025-01-16 11:20:47 +01:00
parent 6db9dbcf90
commit 14f9ea5880
3 changed files with 18 additions and 8 deletions

View File

@@ -7,10 +7,6 @@
/* ------- SHARED BETWEEN INPUT ELEMENTS -------- */
:root {
--input-xpadding: 1em;
}
input,
textarea,
button,