Skip to content

Commit

Permalink
fix(legacy): Textarea use balance text-wrap in safari (#8666)
Browse files Browse the repository at this point in the history
(cherry picked from commit cbaac1b)
  • Loading branch information
vladimirpotekhin committed Aug 23, 2024
1 parent 4b160f2 commit 3af88ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/kit/components/textarea/textarea.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
&[data-size='l']._has-counter {
--tui-textarea-height: @heightCounter;
}

// https://bugs.webkit.org/show_bug.cgi?id=278558
.safari-only({
.t-pseudo-content, .t-input {
text-wrap: balance;
}
});
}

.t-outline {
Expand Down

0 comments on commit 3af88ce

Please sign in to comment.