fix(overflow): 🐛 remove unused mask rules

This commit is contained in:
alistair3149 2024-06-27 18:54:48 -04:00
parent eb58bd6e99
commit c34868d04e
No known key found for this signature in database

View file

@ -1,6 +1,9 @@
.mask-gradient(@direction, @color1, @color2, @color3: null, @color4: null) {
-webkit-mask-image: linear-gradient( @direction, @color1, @color2 );
mask-image: linear-gradient( @direction, @color1, @color2 );
& when (@color3 =null),
(@color4 =null) {
-webkit-mask-image: linear-gradient( @direction, @color1, @color2 );
mask-image: linear-gradient( @direction, @color1, @color2 );
}
& when not(@color3 =null),
not(@color4 =null) {