Remove height:100% from story-photo img (circular % in sub-grid)

This commit is contained in:
2026-03-09 02:54:53 +08:00
parent 8ae59a0344
commit f3dc0eb7ab
+2 -1
View File
@@ -464,10 +464,11 @@ p { margin-bottom: 16px; max-width: 720px; }
}
.story-photo img {
width: 100%;
height: 100%;
min-height: 0;
object-fit: cover;
transition: transform 0.6s;
display: block;
/* No height: 100% — avoids circular % resolution in sub-grid 1fr row */
}
.story-block:hover .story-photo img {
transform: scale(1.03);