Videos: Keep a 16:9 aspect ratio
This commit is contained in:
@@ -1039,8 +1039,18 @@ section.node-preview
|
|||||||
|
|
||||||
&.video
|
&.video
|
||||||
background-color: black
|
background-color: black
|
||||||
min-height: 320px
|
|
||||||
position: relative
|
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
|
.video-dummy
|
||||||
min-height: 320px
|
min-height: 320px
|
||||||
|
Reference in New Issue
Block a user