Skip to content

Commit

Permalink
fix(kit): Textarea use balance text-wrap in safari (#8666) (#8672)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin authored Aug 26, 2024
1 parent 8e4c774 commit 06fb25a
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 06fb25a

Please sign in to comment.