Measure the bottom bars so the section rail is never hidden behind the mini player
This commit is contained in:
@@ -4230,6 +4230,12 @@ body.landscape-fs .player-stage { touch-action: none; } /* fullscreen (real or t
|
||||
/* Phones only — on desktop the whole page is visible at once. */
|
||||
@media (min-width: 861px) { .sec-rail { display: none !important; } }
|
||||
@media (max-width: 860px) {
|
||||
/* clear of the bottom nav / mini player */
|
||||
.sec-rail { top: auto; bottom: 132px; transform: none; }
|
||||
/* Sits above the bottom nav and the mini player. Both are position:fixed
|
||||
bottom:0 and either can be absent, so SectionRail.placeRail() measures
|
||||
them and overrides --rail-bottom; this is only the pre-measure default. */
|
||||
.sec-rail {
|
||||
top: auto;
|
||||
bottom: var(--rail-bottom, 150px);
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user