Commits

Yura authored 816af086a41
84367: Fix ds-truncatable-part Safari gradient issue
No tags

src/styles/_truncatable-part.component.scss

Modified
12 12 &:after {
13 13 content: "";
14 14 position: absolute;
15 15 padding-right: 15px;
16 16 top: ($lines - 1) * $height;
17 17 right: 0;
18 18 width: 30%;
19 19 min-width: 75px;
20 20 max-width: 150px;
21 21 height: $height;
22 - background: linear-gradient(to right, rgba(255, 255, 255, 0), $bg 70%);
22 + background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba($bg, 1) 70%);
23 23 pointer-events: none;
24 24 }
25 25 }
26 26
27 27 }
28 28
29 29 @mixin min($lines, $size-factor: 1, $line-height: $line-height-base) {
30 30 $height: $line-height * $font-size-base * $size-factor;
31 31 min-height: $lines * $height;
32 32 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut