Setting min-height of text area according to rows attr

This commit is contained in:
rug
2026-01-29 15:34:47 +01:00
parent fe289a47f5
commit ba782156b1

View File

@@ -95,6 +95,10 @@
max-height: inherit;
}
:host([rows]) .textarea-wrapper-inner textarea {
min-height: calc(attr(rows number) * 2em);
}
// Textarea Label
// ----------------------------------------------------------------