mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 09:30:27 +03:00
fix(text-field): wrap text in textarea
This commit is contained in:
parent
b5686ea4e0
commit
4fce487c81
@ -104,7 +104,9 @@ $_enter-delay: $_label-duration - $_visible-duration;
|
||||
line-height: var(--_content-line-height);
|
||||
font-weight: var(--_content-weight);
|
||||
width: 100%;
|
||||
white-space: pre-wrap; // Needed for Firefox textarea with "all: unset"
|
||||
// Reverting values before "all: unset"
|
||||
overflow-wrap: revert; // Needed to break words in textarea
|
||||
white-space: revert; // Needed for Firefox textarea
|
||||
}
|
||||
|
||||
.content ::slotted(:not(textarea)) {
|
||||
|
Loading…
Reference in New Issue
Block a user