mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Locking to attribute value
This commit is contained in:
@@ -84,13 +84,13 @@
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// The height should be auto only when auto-grow is enabled.
|
||||
:host([auto-grow]) .textarea-wrapper-inner {
|
||||
:host([auto-grow=true]) .textarea-wrapper-inner {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// The min and max height should be inherited if auto-grow is enabled.
|
||||
// This allows the textarea to grow and shrink as needed.
|
||||
:host([auto-grow]) .native-wrapper {
|
||||
:host([auto-grow=true]) .native-wrapper {
|
||||
min-height: inherit;
|
||||
max-height: inherit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user