Fix video aspect ratio
This commit is contained in:
parent
98cabf4099
commit
ac93e175bf
1 changed files with 1 additions and 1 deletions
|
@ -392,9 +392,9 @@ p.note {
|
||||||
.videoWrapper {
|
.videoWrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 56.25%; /* 16:9 */
|
padding-bottom: 56.25%; /* 16:9 */
|
||||||
padding-top: 25px;
|
|
||||||
height: 0;
|
height: 0;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
background: #000;
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue