From d6bbcfb62ca744ae2b8d6265a187538f3fe88a12 Mon Sep 17 00:00:00 2001 From: chiimagnus Date: Wed, 20 Nov 2024 17:10:33 +0800 Subject: [PATCH] =?UTF-8?q?style(css):=20=E8=B0=83=E6=95=B4=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E5=88=87=E6=8D=A2=E6=8C=89=E9=92=AE=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将主题切换按钮的定位方式从 fixed 改为 absolute - 保持按钮在页面右上角的位置 --- css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index 424f277..e0e0d2b 100644 --- a/css/style.css +++ b/css/style.css @@ -198,7 +198,7 @@ footer { /* 添加主题切换按钮样式 */ .theme-switch { - position: fixed; + position: absolute; top: 20px; right: 20px; width: 40px;