Skip to content

Commit 7d2558f

Browse files
authored
style: fixed height for broken thumbnails
1 parent 01cbcc7 commit 7d2558f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/hb/modules/blog/scss/post/_card.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.hb-blog-post-card-img {
22
height: $hb-blog-post-thumbnail-height;
3+
min-height: $hb-blog-post-thumbnail-height; // fixed height for broken images.
34
object-fit: cover;
45
width: 100%;
56
transition: 0.3s;

0 commit comments

Comments
 (0)