From 3fdafc14d7e96d80b5894cb9c797c7a4c9a30a68 Mon Sep 17 00:00:00 2001 From: Ruslan Date: Wed, 24 Jun 2026 11:19:34 +0300 Subject: [PATCH 1/2] fix(promo-banner): restore docs scroll-hide animation lost in merge The pure-CSS scroll-driven hide (--promo-cur collapse via @keyframes promo-collapse / promo-vanish under @supports (animation-timeline: scroll())) was silently dropped from _starlight-overrides.scss during the PR #465 merge (7e75f818e), so the docs banner no longer collapsed on scroll. The merge also trimmed the --promo-anim:none banner-less-page fallback from PromoBanner.astro, leaving the degenerate 0 0px range / stale band the comment warns about. Restore both verbatim from the last good commit (58897deb4) and drop the now-false comment claiming the animation lives in PromoBanner.astro. main still has this animation (it never went through the bad merge), so landing this on develop first keeps develop->main from silently deleting it on main. --- src/components/PromoBanner.astro | 2 +- src/styles/_starlight-overrides.scss | 38 ++++++++++++++++++++++++++-- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/src/components/PromoBanner.astro b/src/components/PromoBanner.astro index 929aca261..669eadd55 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 &&