mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(textarea): inherit white-space for better customization (#18508)
fixes #18495
This commit is contained in:
@ -42,6 +42,8 @@
|
||||
|
||||
font-family: $font-family-base;
|
||||
|
||||
white-space: pre-wrap;
|
||||
|
||||
z-index: $z-index-item-input;
|
||||
}
|
||||
|
||||
@ -89,8 +91,6 @@
|
||||
resize: none;
|
||||
appearance: none;
|
||||
|
||||
white-space: pre-wrap;
|
||||
|
||||
&::placeholder {
|
||||
color: var(--placeholder-color);
|
||||
|
||||
@ -120,4 +120,4 @@
|
||||
position: absolute;
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user