Fix flash of stretched images

This commit is contained in:
Maël Brunet 2021-06-01 20:22:04 +02:00
parent 884eaa5272
commit c5f57f7618

View file

@ -19,10 +19,8 @@
} }
.c-card__image { .c-card__image {
width: 100%; height: auto;
height: 160px;
background-color: var(--color-grey-500); // fallback while image is loading background-color: var(--color-grey-500); // fallback while image is loading
object-fit: cover;
border-radius: 20px 20px 0 0; border-radius: 20px 20px 0 0;
} }