Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
YuxuannSun committed Nov 12, 2024
1 parent 66df0f7 commit 960ce8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -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; /* 确保主图片按比例填充 */
}
</style>

Expand Down

0 comments on commit 960ce8b

Please sign in to comment.