Changing the values of the min-height

This commit is contained in:
rug
2026-02-05 15:40:44 +01:00
parent dc7caf4762
commit 41929970d7

View File

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