From 656d2b4569226780b66bc9167a6ce64e16897eae Mon Sep 17 00:00:00 2001 From: Woody Tseng Date: Mon, 4 Aug 2025 11:11:59 +0800 Subject: [PATCH] Fix "hide banner" button not contained within any landmark region --- src/components/Banner/index.astro | 2 +- src/components/Footer/index.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Banner/index.astro b/src/components/Banner/index.astro index 8cef5229a5..0c4c6d50f2 100644 --- a/src/components/Banner/index.astro +++ b/src/components/Banner/index.astro @@ -6,7 +6,7 @@ const { link, title } = entry.data; --- + {bannerEntry && !bannerEntry.data.hidden && ()} -{bannerEntry && !bannerEntry.data.hidden && ()}