CSS: .sidebar-header z-index 2 -> 1
Drop the header to the same stacking level as the nav instead of forcing it above.
This commit is contained in:
parent
203142c4a9
commit
89018bb6b3
1 changed files with 3 additions and 5 deletions
|
|
@ -307,11 +307,9 @@ body.reduce-effects .sidebar::after {
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
/* Above the nav (the sidebar gives its children z-index:1) so nav items
|
/* Same stacking level as the nav (z-index:1) — sits in the normal sidebar
|
||||||
scrolling up sit BEHIND the header — i.e. in its backdrop, where the
|
flow rather than forced above everything. */
|
||||||
blur below can actually act on them. Without this they paint in front
|
z-index: 1;
|
||||||
and backdrop-filter has nothing to blur. */
|
|
||||||
z-index: 2;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue