Fix tab fade css because Safari

Fixes #3073
This commit is contained in:
Nick O'Leary
2021-07-21 10:26:06 +01:00
parent 8ef3baaffb
commit 233a1995b3

View File

@@ -104,7 +104,7 @@
}
.red-ui-tabs-fade {
background-image: linear-gradient(to right, transparent, $tab-background-active);
background-image: linear-gradient(to right, rgba(255,255,255,0.001), $tab-background-active);
}
}
@@ -112,7 +112,7 @@
&:not(.active) {
background: $tab-background-selected;
.red-ui-tabs-fade {
background-image: linear-gradient(to right, transparent, $tab-background-selected);
background-image: linear-gradient(to right, rgba(255,255,255,0.001), $tab-background-selected);
}
.red-ui-tabs-badge-selected {
background: $tab-background-selected;
@@ -308,7 +308,7 @@
top: 0;
right: 0;
width: 15px;
background-image: linear-gradient(to right, transparent, $tab-background-inactive);
background-image: linear-gradient(to right, rgba(255,255,255,0.001), $tab-background-inactive);
pointer-events: none;
}