From 62099ed973391f8c6ae60982f5d7d987df5d5397 Mon Sep 17 00:00:00 2001 From: Vladimir Potekhin Date: Fri, 6 Dec 2024 10:50:01 +0300 Subject: [PATCH] fix(kit): `Segmented` fix shadow clipping in Safari --- projects/kit/components/segmented/segmented.style.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/kit/components/segmented/segmented.style.less b/projects/kit/components/segmented/segmented.style.less index 5eae7968ec93..d43ef6a50a8e 100644 --- a/projects/kit/components/segmented/segmented.style.less +++ b/projects/kit/components/segmented/segmented.style.less @@ -6,6 +6,8 @@ tui-segmented { color: var(--tui-background-base); background: var(--tui-background-neutral-1); overflow: hidden; + /* Safari bug https://bugs.webkit.org/show_bug.cgi?id=68196 */ + mask-image: linear-gradient(black, black); &[data-size='s'] { --t-padding: 0.5rem;