From 960ce8b1b4bef648cc592bcb463a08f3ba141393 Mon Sep 17 00:00:00 2001 From: Yuxuan Sun Date: Tue, 12 Nov 2024 16:26:14 +0800 Subject: [PATCH] edit --- _pages/about.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_pages/about.md b/_pages/about.md index 2cfa456..adb6ad7 100644 --- a/_pages/about.md +++ b/_pages/about.md @@ -25,10 +25,10 @@ Recent work at a glance } /* 主图片样式 */ #mainImage { - width: 70%; + width: 500px; /* 固定主图片宽度 */ + height: 400px; /* 固定主图片高度 */ margin-right: 10px; - object-fit: contain; - height: auto; + object-fit: contain; /* 确保主图片按比例填充 */ }