mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-03 11:56:04 -04:00
CSS: Fix iframe attachment size in community posts
This commit is contained in:
parent
7aac401407
commit
ce2649420f
2 changed files with 19 additions and 13 deletions
|
@ -330,6 +330,20 @@ p.video-data { margin: 0; font-weight: bold; font-size: 80%; }
|
|||
margin: auto;
|
||||
}
|
||||
|
||||
.video-iframe-wrapper {
|
||||
position: relative;
|
||||
height: 0;
|
||||
padding-bottom: 56.25%;
|
||||
}
|
||||
|
||||
.video-iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* Footer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue