spee.ch/client/scss/components/_asset-display.scss
2018-07-20 09:58:18 -07:00

22 lines
373 B
SCSS

.asset-display {
display: flex;
flex: 1 0 auto;
flex-direction: column;
justify-content: center;
}
.asset-image, .asset-video {
margin : 0;
max-width: 100%;
max-height: 100%;
object-fit: contain;
object-position: center;
}
.asset-video {
border: 1px solid #d0d0d0;
margin: 16px;
padding: 6px;
}
.vertical-split .asset-display {
height: 90vh;
}