Keep images from distorting or getting cropped

great explanation by @alina-beck

Co-Authored-By: Alina Beck <alina.beck@mail.com>
This commit is contained in:
mattwr18 2019-10-14 19:15:22 +02:00 committed by GitHub
parent 3e72660ed8
commit b605dd12c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ export default {
.ds-card-image {
img {
max-height: 2000px;
object-fit: cover;
object-fit: contain;
object-position: center;
}
}