From a4c38453f0ff4ffe5b5c79174bad94a5254051a6 Mon Sep 17 00:00:00 2001 From: seaHi Date: Sat, 8 Aug 2026 14:41:01 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=B0=81=E9=9D=A2=E5=9B=BE=E6=A0=B7=E5=BC=8F=E4=BB=A5=E6=94=B9?= =?UTF-8?q?=E5=96=84=E6=98=BE=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.css | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/app.css b/src/app.css index 8c6411d..a222590 100644 --- a/src/app.css +++ b/src/app.css @@ -1391,20 +1391,18 @@ footer section p:first-child { /* Featured Image Styles */ .post-cover { width: 100%; - height: 200px; + height: auto; overflow: hidden; border-bottom: none; - background-color: var(--border-color); /* 添加一点背景色填补空白区域 */ - display: flex; - align-items: center; - justify-content: center; + text-align: center; } .post-cover img { - width: 100%; - height: 100%; - object-fit: contain; /* 保证图片显示完整不被裁剪 */ + max-width: 100%; + height: auto; + max-height: 260px; display: block; + margin: 0 auto; border-radius: 0; }