Adjust css to keep aspect ratio of previewed image

This commit is contained in:
j433866 2019-03-20 10:40:59 +00:00
parent 4a84cf3ac7
commit d9fdae9175

View file

@ -60,10 +60,17 @@
.io-card.card>img { .io-card.card>img {
float: left; float: left;
width: 128px; width: auto;
height: 128px; height: auto;
margin-left: 10px; max-width: 128px;
margin-top: 11px; max-height: 128px;
margin-left: auto;
margin-top: auto;
margin-right: auto;
margin-bottom: auto;
padding: 10px;
padding-right: 0px;
} }
.io-card.card .card-body .close { .io-card.card .card-body .close {