From 625539befe10cd9205d26b57ca8a8a47892a543f Mon Sep 17 00:00:00 2001 From: EveSunMaple Date: Sat, 19 Oct 2024 18:54:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20fix=20scroll=20problem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astro.config.mjs | 2 +- src/components/Navbar.astro | 4 +- src/components/SidebarTool.astro | 79 +++++++++++++++----------------- 3 files changed, 40 insertions(+), 45 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 1e1d14e..1d375ca 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -42,7 +42,7 @@ export default defineConfig({ hover: true, visible: false }, - theme: 'slide', + // theme: 'slide', containers: ["#swup"], }), terser({ diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index ef0350b..2436596 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -4,7 +4,7 @@ import { SITE_TITLE } from "../consts"; ---