From d918a2ef3d3c2369c618a74ed9f326b776e95ba5 Mon Sep 17 00:00:00 2001 From: saicaca Date: Wed, 8 Nov 2023 15:26:18 +0800 Subject: [PATCH] feat: overlay scrollbar --- src/layouts/Layout.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 548887f..b261089 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -283,7 +283,7 @@ function initCustomScrollbar() { scrollbars: { theme: 'scrollbar-base scrollbar-auto py-1', autoHide: 'move', - autoHideDelay: 1300, + autoHideDelay: 500, autoHideSuspend: false } }); @@ -292,7 +292,7 @@ function initCustomScrollbar() { scrollbars: { theme: 'scrollbar-base scrollbar-dark px-2', autoHide: 'leave', - autoHideDelay: 1300, + autoHideDelay: 500, autoHideSuspend: false } });