FIX: Sidebar scroll fade on older iOS (#18299)

* DEV: Use explicit transparent color rather than keyword
* DEV: Use variable for dark mode
* DEV: Add mobile style
This commit is contained in:
Keegan George 2022-09-20 16:03:40 -07:00 committed by GitHub
parent 09cec7d6dd
commit ea27079ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -24,7 +24,7 @@
pointer-events: none;
background: linear-gradient(
to bottom,
transparent,
rgba(var(--primary-very-low-rgb), 0),
rgba(var(--primary-very-low-rgb), 1)
);
}

View File

@ -97,6 +97,16 @@
margin-top: 0;
}
.sidebar-footer-container {
&:before {
background: linear-gradient(
to bottom,
rgba(var(--primary-very-low-rgb), 0),
rgba(var(--primary-very-low-rgb), 1)
);
}
}
.sidebar-sections {
display: flex;
flex-direction: column;