diff --git a/src/components/Landing/HeaderContent.astro b/src/components/Landing/HeaderContent.astro index 13bd9cd3d..a3bdc61d1 100644 --- a/src/components/Landing/HeaderContent.astro +++ b/src/components/Landing/HeaderContent.astro @@ -382,7 +382,8 @@ const needsScrollState = variant === 'transparent' || variant === 'transparent-h &.opened-burger { // Anchor the drawer where the bar already sits (top stays at --promo-cur, // below the banner) and fill to the viewport bottom, so opening at the top - // shifts nothing. The banner stays visible above the drawer. + // shifts nothing. The banner stays visible above the drawer (when scrolled + // it has already collapsed off-screen, so the drawer reaches top:0). bottom: 0; z-index: 10000; display: flex !important; diff --git a/src/components/PromoBanner.astro b/src/components/PromoBanner.astro index 929aca261..0a1ae80a8 100644 --- a/src/components/PromoBanner.astro +++ b/src/components/PromoBanner.astro @@ -117,7 +117,7 @@ const hasSwitcher = slides.length > 1; } { /* No slide to show (e.g. all targets matched the current page): zero --promo-h. */ - !showBanner &&