From 423afc6d03c1fb1b86090aa14b13f7f2fa6296e4 Mon Sep 17 00:00:00 2001 From: Karsa Date: Sat, 30 May 2026 17:39:05 +0200 Subject: [PATCH] fix(): force hide #bb-banner, if html.has-bb-banner is missing (#4422) Co-authored-by: Eric Fennis --- docs/.vitepress/theme/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index 22a1ee5de..4f86736ce 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -162,3 +162,9 @@ margin: 0 auto 48px; max-width: 480px; } + +html:not(.has-bb-banner) #bb-banner { + display: none !important; + visibility: hidden !important; + pointer-events: none !important; +}