From 06fb25a0990efe29da56056881dcd7ce649734e1 Mon Sep 17 00:00:00 2001 From: Vladimir Potekhin <46284632+vladimirpotekhin@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:39:42 +0300 Subject: [PATCH] fix(kit): `Textarea` use balance text-wrap in safari (#8666) (#8672) --- projects/kit/components/textarea/textarea.style.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/projects/kit/components/textarea/textarea.style.less b/projects/kit/components/textarea/textarea.style.less index 1022151a741d..6f38b9a6e3be 100644 --- a/projects/kit/components/textarea/textarea.style.less +++ b/projects/kit/components/textarea/textarea.style.less @@ -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 {