Skip to content

Commit

Permalink
fix(kit): Segmented fix shadow clipping in Safari (#9931)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin authored Dec 6, 2024
1 parent 104753c commit c6c9c38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/kit/components/segmented/segmented.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c6c9c38

Please sign in to comment.