Merge pull request #10736 from scmmishra/fix-blog-cover
fix: maintain image aspect ratio in blog cover
This commit is contained in:
commit
110a627dc2
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