mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user