Skip to content

Commit

Permalink
fix(textfield): line breaks not visible in Firefox
Browse files Browse the repository at this point in the history
Fixes #4581

PiperOrigin-RevId: 561168215
  • Loading branch information
asyncLiz authored and copybara-github committed Aug 29, 2023
1 parent 6b2955b commit 541c0e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions field/internal/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ $_enter-delay: $_label-duration - $_visible-duration;
color: currentColor;
font: var(--_content-type);
width: 100%;
white-space: pre-wrap; // Needed for Firefox textarea with "all: unset"
}

.content ::slotted(:not(textarea)) {
Expand Down

0 comments on commit 541c0e9

Please sign in to comment.