From a43f1c94a0e62d4d65f063f7cde9cc8d2e82c95b Mon Sep 17 00:00:00 2001 From: liaoxin Date: Sun, 17 May 2026 02:47:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20footer=20=E9=97=AE=E9=A2=98=20=E2=80=94?= =?UTF-8?q?=20main-content=20min-height=20=E7=94=A8=20calc=20=E8=87=AA?= =?UTF-8?q?=E9=80=82=E5=BA=94=EF=BC=88=E4=B8=8D=E6=94=B9=20body=20flex?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 507ac5f..affd3a9 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,6 @@ /* Theme Name: 空笺未寄 -Version: 0.14.9 +Version: 0.15.0 Requires at least: 6.0 Requires PHP: 7.4 License: MIT @@ -82,7 +82,7 @@ Text Domain: kj-weji content:''; position:absolute; bottom:-4px; left:50%; transform:translateX(-50%); width:4px; height:4px; background:var(--cinnabar); border-radius:50%; } - .main-content { padding:40px; min-height:500px; } + .main-content { padding:40px; min-height: calc(100vh - var(--topbar-height) - 160px); } /* 首页 */ .hero { text-align:center; padding:48px 20px 32px; }