From b7bf1eab35622e0a4b7c5b2a240b2c4556ef1a99 Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Wed, 5 Mar 2025 16:36:49 +0800 Subject: [PATCH] =?UTF-8?q?style(footer):=20=E8=B0=83=E6=95=B4=E9=A1=B5?= =?UTF-8?q?=E8=84=9A=E9=93=BE=E6=8E=A5=E6=A0=B7=E5=BC=8F=E4=BB=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=8A=98=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改页脚链接的 flex 布局,从 `gap-x-2 sm:gap-x-0` 改为 `flex-wrap gap-x-2 sm:gap-x-0`,使其支持折行。 - 调整链接的内边距,在小屏幕上使用 `px-2 py-2`,在大屏幕上使用 `sm:px-4 sm:py-0`,以优化在小屏幕上的显示效果。 --- src/components/layout/Footer.astro | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/layout/Footer.astro b/src/components/layout/Footer.astro index 6b5a08c..f8ca9a6 100644 --- a/src/components/layout/Footer.astro +++ b/src/components/layout/Footer.astro @@ -23,12 +23,15 @@ const year = new Date().getFullYear();