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 {
float: left;
width: 128px;
height: 128px;
margin-left: 10px;
margin-top: 11px;
width: auto;
height: auto;
max-width: 128px;
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 {