Lift the section rail clear of the floating mini player
This commit is contained in:
@@ -4261,6 +4261,12 @@ body.landscape-fs .player-stage { touch-action: none; } /* fullscreen (real or t
|
||||
.sec-rail {
|
||||
top: auto;
|
||||
bottom: max(var(--rail-bottom, 0px), calc(96px + env(safe-area-inset-bottom) + 14px));
|
||||
}
|
||||
/* The mini player is a floating card ABOVE the nav, so when it is on screen
|
||||
the rail has to clear both. Keeps the last icon visible even if the JS
|
||||
measurement is stale (e.g. the PWA is still on a cached shell). */
|
||||
body:has(#miniBar:not(.hidden)) .sec-rail {
|
||||
bottom: max(var(--rail-bottom, 0px), calc(186px + env(safe-area-inset-bottom)));
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user