Fix flash of stretched images
This commit is contained in:
parent
884eaa5272
commit
c5f57f7618
|
|
@ -19,10 +19,8 @@
|
|||
}
|
||||
|
||||
.c-card__image {
|
||||
width: 100%;
|
||||
height: 160px;
|
||||
height: auto;
|
||||
background-color: var(--color-grey-500); // fallback while image is loading
|
||||
object-fit: cover;
|
||||
border-radius: 20px 20px 0 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue