Videos: Keep a 16:9 aspect ratio

This commit is contained in:
Pablo Vazquez 2017-09-04 12:25:31 +02:00
parent 4a68821dee
commit adcbebd7b6

View File

@ -1039,8 +1039,18 @@ section.node-preview
&.video
background-color: black
min-height: 320px
position: relative
padding-bottom: 56.25%
padding-top: 35px
height: 0
overflow: hidden
.video-js
position: absolute
top: 0
left: 0
width: 100%
height: 100%
.video-dummy
min-height: 320px