mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Fix video aspect ratio
This commit is contained in:
parent
98cabf4099
commit
ac93e175bf
@ -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…
x
Reference in New Issue
Block a user