Skip to content

Commit 9ea4af4

Browse files
committed
better feature image cropping
1 parent 2e8611e commit 9ea4af4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

assets/static/css/style.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,13 @@ article img {
11641164
.post-content h3 {
11651165
font-size: 1.2em;
11661166
}
1167-
1167+
/* better feature image cropping */
1168+
.blog-list-item-content img {
1169+
width: 100%;
1170+
height: 100%;
1171+
object-fit: cover;
1172+
object-position: center center;
1173+
}
11681174
.pagination {
11691175
text-align: center;
11701176
padding-top: 40px;

0 commit comments

Comments
 (0)