Skip to content

Commit 9966a37

Browse files
committed
fix cover image style
1 parent 69d5857 commit 9966a37

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: _sass/_page.scss

+9
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,10 @@ header .entry-meta {
399399
}
400400
}
401401
.entry-image-index {
402+
height: 180px;
403+
overflow: hidden;
404+
position: relative;
405+
402406
margin-top: -25px;
403407
margin-left: -15px;
404408
margin-right: -15px;
@@ -416,6 +420,11 @@ header .entry-meta {
416420
margin-bottom: 20px;
417421
}
418422
img {
423+
position: absolute;
424+
top: 0;
425+
bottom: 0;
426+
margin: auto;
427+
419428
@include border-radius(3px,0,0,3px); // round image corners
420429
}
421430
}

0 commit comments

Comments
 (0)