added object-fit and position to assets #539

Merged
bones7242 merged 2 commits from 528-fix-image-stretch into master 2018-07-20 18:59:15 +02:00

View file

@ -1,20 +1,21 @@
.asset-display {
flex: 1 0 auto;
display: flex;
justify-content: center;
flex: 1 0 auto;
flex-direction: column;
justify-content: center;
}
.asset-image, .asset-video {
skhameneh commented 2018-07-20 16:07:16 +02:00 (Migrated from github.com)
Review

Order by alphabetical name? 😅

Order by alphabetical name? 😅
bones7242 commented 2018-07-20 18:59:09 +02:00 (Migrated from github.com)
Review

👍

:+1:
margin : 0;
max-width: 100%;
max-height: 100%;
margin : 0;
object-fit: contain;
object-position: center;
}
.asset-video {
border: 1px solid #d0d0d0;
margin: 16px;
padding: 6px;
border: 1px solid #d0d0d0;
}
.vertical-split .asset-display {
height: 90vh;