From 422a1e185eba86dd5ad45ce22ee62dc24aca925a Mon Sep 17 00:00:00 2001 From: lscambo13 Date: Sun, 23 Nov 2025 20:01:20 +0530 Subject: [PATCH] New: Shift the media page content up when Now Playing bottom bar is visible --- Theme/ElegantFin-theme-nightly.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Theme/ElegantFin-theme-nightly.css b/Theme/ElegantFin-theme-nightly.css index fea5df9..b01c48f 100644 --- a/Theme/ElegantFin-theme-nightly.css +++ b/Theme/ElegantFin-theme-nightly.css @@ -92,9 +92,6 @@ --sidePadding: 3.3%; --itemColumnGap: 1em; - --primaryItemPageNegativeSpace: 14vh; - --secondaryItemPageNegativeSpace: 60vh; - --clearLogoBottomSpace: 11em; --minEpisodeCardWidth: 26em; --blurSmallest: blur(2px); @@ -163,6 +160,10 @@ } html { + --primaryItemPageNegativeSpace: 14vh; + --secondaryItemPageNegativeSpace: 60vh; + --clearLogoBottomSpace: 11em; + font-family: "Inter", sans-serif; font-optical-sizing: auto; font-weight: 425; @@ -170,6 +171,11 @@ html { -webkit-tap-highlight-color: transparent !important; } +.layout-desktop:has(.nowPlayingBar:not(.hide)) { + --primaryItemPageNegativeSpace: calc(14vh + 5em); + --secondaryItemPageNegativeSpace: calc(60vh + 5em); +} + .layout-mobile { --itemColumnGap: 0; --headerColorGradient: var(--headerColorGradientAlt);