mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Add some defensive CSS to protect the textarea auto-sizing from getting into an undesirable visual state. Previously, inputs had a fair amount of fixed sizes, but after applying field-sizing: content, the inputs can become much too small or much too large.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+5
-1
@@ -1472,6 +1472,10 @@ table.dataTable tbody > tr > .selected {
|
||||
}
|
||||
}
|
||||
|
||||
.field-sizing-content {
|
||||
textarea.field-sizing-content {
|
||||
min-block-size: 3.5rlh;
|
||||
max-block-size: 20rlh;
|
||||
min-inline-size: 20ch;
|
||||
max-inline-size: 50ch;
|
||||
field-sizing: content;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user