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:
DL6ER
2024-04-01 19:57:27 +02:00
parent 64ccce4bd5
commit 09e9ae544f
+5 -1
View File
@@ -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;
}