feat: maintain image aspect ratio in blog cover
This commit is contained in:
parent
69fc7812ae
commit
27601bd01b
1 changed files with 3 additions and 2 deletions
|
|
@ -26,8 +26,9 @@
|
|||
height: 12rem;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
min-height: 12rem;
|
||||
min-width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.default-cover {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue