From 8565724eb3eb4484b845708031cd2c58382532d9 Mon Sep 17 00:00:00 2001 From: saicaca Date: Fri, 20 Sep 2024 00:58:40 +0800 Subject: [PATCH] fix: fix the flickering caused by custom scrollbar initialization (#60) --- src/layouts/Layout.astro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 1259d0014..0a0dfe7df 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -70,7 +70,9 @@ const bannerOffset = bannerOffsetByPosition[siteConfig.banner.position || 'cente --- - + {pageTitle} @@ -131,7 +133,9 @@ const bannerOffset = bannerOffsetByPosition[siteConfig.banner.position || 'cente - + {siteConfig.banner.enable &&