mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-05 18:24:06 +00:00
Maintain aspect ratio even when JS is disabled
This commit is contained in:
@@ -201,3 +201,16 @@ div {
|
||||
background-size: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
#player {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#player-container {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%;
|
||||
height: 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user