Merge pull request #10736 from scmmishra/fix-blog-cover

fix: maintain image aspect ratio in blog cover
This commit is contained in:
mergify[bot] 2020-06-22 07:53:18 +00:00 committed by GitHub
commit 110a627dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,8 +26,9 @@
height: 12rem;
img {
width: 100%;
min-height: 100%;
min-height: 12rem;
min-width: 100%;
object-fit: cover;
}
.default-cover {