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