Skip to content

Commit 4cc4403

Browse files
grantzhouclaude
andcommitted
fix(blog): show full cover image with object-fit: contain
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1db48bb commit 4cc4403

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/css/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,13 @@
324324
.blog-card-img {
325325
width: 100%;
326326
height: 100%;
327-
object-fit: cover;
327+
object-fit: contain;
328328
display: block;
329329
transition: transform 0.4s;
330330
}
331331

332332
.blog-card:hover .blog-card-img {
333-
transform: scale(1.04);
333+
transform: scale(1.02);
334334
}
335335

336336
.blog-card-img-placeholder {

0 commit comments

Comments
 (0)