feat: maintain image aspect ratio in blog cover

This commit is contained in:
Shivam Mishra 2020-06-18 19:31:52 +05:30
parent 69fc7812ae
commit 27601bd01b

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 {