From b31ecf2cd24db51c7ca71c0c4846e64291768eef Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Sat, 5 Sep 2026 17:57:02 -0700 Subject: [PATCH] fix(site): honor hidden consent banner --- site/src/components/AnalyticsConsent.astro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/src/components/AnalyticsConsent.astro b/site/src/components/AnalyticsConsent.astro index 0164ba40f..9e2692a39 100644 --- a/site/src/components/AnalyticsConsent.astro +++ b/site/src/components/AnalyticsConsent.astro @@ -74,6 +74,10 @@ const enabled = box-shadow: 0 1rem 2.5rem -0.75rem rgb(0 0 0 / 0.5); } + .fo-consent[hidden] { + display: none; + } + .fo-consent-title { margin: 0 0 0.2rem; font-size: var(--sl-text-sm);