spee.ch/client/scss/components/_asset-display.scss

23 lines
373 B
SCSS
Raw Normal View History

2018-06-09 02:23:11 +02:00
.asset-display {
display: flex;
2018-07-20 18:58:18 +02:00
flex: 1 0 auto;
flex-direction: column;
2018-07-20 18:58:18 +02:00
justify-content: center;
2018-06-09 02:23:11 +02:00
}
.asset-image, .asset-video {
2018-07-20 18:58:18 +02:00
margin : 0;
2018-06-09 02:23:11 +02:00
max-width: 100%;
max-height: 100%;
object-fit: contain;
object-position: center;
2018-06-09 02:23:11 +02:00
}
.asset-video {
2018-07-20 18:58:18 +02:00
border: 1px solid #d0d0d0;
margin: 16px;
padding: 6px;
}
.vertical-split .asset-display {
height: 90vh;
}