[fix] do not stretch images - fixes #1262

This commit is contained in:
Adam Tauber 2020-06-10 00:30:39 +02:00
parent 29960aa1d9
commit 43f7b84a59
5 changed files with 16 additions and 0 deletions

View File

@ -267,6 +267,11 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
outline: 0 none; outline: 0 none;
position: relative; position: relative;
} }
@media screen and (max-width: 75em) {
.img-thumbnail {
object-fit: cover;
}
}
.infobox .panel-heading { .infobox .panel-heading {
background-color: #f6f9fa; background-color: #f6f9fa;
} }

View File

@ -240,6 +240,11 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
outline: 0 none; outline: 0 none;
position: relative; position: relative;
} }
@media screen and (max-width: 75em) {
.img-thumbnail {
object-fit: cover;
}
}
.infobox .panel-heading { .infobox .panel-heading {
background-color: #f6f9fa; background-color: #f6f9fa;
} }

Binary file not shown.

View File

@ -185,3 +185,9 @@
outline: 0 none; outline: 0 none;
position: relative; position: relative;
} }
@media screen and (max-width: 75em) {
.img-thumbnail {
object-fit: cover;
}
}