From c7e51af0e03dbfb29d2594f5d927108576dab818 Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Fri, 28 Aug 2026 22:20:35 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/Layout.astro | 4 ++++ src/layouts/PageHeader.astro | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 30cc71c..ea183ab 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -36,5 +36,9 @@ import PageFooter from "./PageFooter.astro"; .container { padding: 16px; } + + main{ + padding-bottom: 0; + } } diff --git a/src/layouts/PageHeader.astro b/src/layouts/PageHeader.astro index ed3f099..a2e30f7 100644 --- a/src/layouts/PageHeader.astro +++ b/src/layouts/PageHeader.astro @@ -46,7 +46,7 @@ const { siteTitle, git } = siteConfig; @media (max-width: 640px) { header { - margin-top: 12px; + padding-top: 12px; margin-bottom: 0; }