mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Changing the values of the min-height
This commit is contained in:
@@ -95,8 +95,13 @@
|
|||||||
max-height: inherit;
|
max-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([rows]) .textarea-wrapper-inner textarea {
|
:host([rows]) {
|
||||||
min-height: calc(attr(rows number) * 2em);
|
--rows-number: attr(rows number);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host([rows]) .textarea-wrapper-inner {
|
||||||
|
height: auto;
|
||||||
|
min-height: calc(var(--rows-number) * 1em + 0.5em);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Textarea Label
|
// Textarea Label
|
||||||
|
|||||||
Reference in New Issue
Block a user