Passen Sie das Bild in Gitter -CSS ein
.photo > img {
object-fit: cover;
width: 100%;
max-height: 100%;
}
Undefined
.photo > img {
object-fit: cover;
width: 100%;
max-height: 100%;
}
.photo > img {
object-fit: cover;
width: 100%;
}