New: Shift the media page content up when Now Playing bottom bar is visible
This commit is contained in:
parent
7dcd42f992
commit
422a1e185e
1 changed files with 9 additions and 3 deletions
|
|
@ -92,9 +92,6 @@
|
||||||
--sidePadding: 3.3%;
|
--sidePadding: 3.3%;
|
||||||
--itemColumnGap: 1em;
|
--itemColumnGap: 1em;
|
||||||
|
|
||||||
--primaryItemPageNegativeSpace: 14vh;
|
|
||||||
--secondaryItemPageNegativeSpace: 60vh;
|
|
||||||
--clearLogoBottomSpace: 11em;
|
|
||||||
--minEpisodeCardWidth: 26em;
|
--minEpisodeCardWidth: 26em;
|
||||||
|
|
||||||
--blurSmallest: blur(2px);
|
--blurSmallest: blur(2px);
|
||||||
|
|
@ -163,6 +160,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
--primaryItemPageNegativeSpace: 14vh;
|
||||||
|
--secondaryItemPageNegativeSpace: 60vh;
|
||||||
|
--clearLogoBottomSpace: 11em;
|
||||||
|
|
||||||
font-family: "Inter", sans-serif;
|
font-family: "Inter", sans-serif;
|
||||||
font-optical-sizing: auto;
|
font-optical-sizing: auto;
|
||||||
font-weight: 425;
|
font-weight: 425;
|
||||||
|
|
@ -170,6 +171,11 @@ html {
|
||||||
-webkit-tap-highlight-color: transparent !important;
|
-webkit-tap-highlight-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout-desktop:has(.nowPlayingBar:not(.hide)) {
|
||||||
|
--primaryItemPageNegativeSpace: calc(14vh + 5em);
|
||||||
|
--secondaryItemPageNegativeSpace: calc(60vh + 5em);
|
||||||
|
}
|
||||||
|
|
||||||
.layout-mobile {
|
.layout-mobile {
|
||||||
--itemColumnGap: 0;
|
--itemColumnGap: 0;
|
||||||
--headerColorGradient: var(--headerColorGradientAlt);
|
--headerColorGradient: var(--headerColorGradientAlt);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue