diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-03-12 10:12:47 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-03-12 10:12:47 -0500 |
| commit | cf3f0fcc3986198ea89d4ef4ca11f51009bcb22e (patch) | |
| tree | 9ea5519581bbadc2ac3366258da1a32ae276af08 | |
| parent | 19c32bf993d7909c91c2b511c4e32610148b1109 (diff) | |
| download | invidious-cf3f0fcc3986198ea89d4ef4ca11f51009bcb22e.tar.gz invidious-cf3f0fcc3986198ea89d4ef4ca11f51009bcb22e.tar.bz2 invidious-cf3f0fcc3986198ea89d4ef4ca11f51009bcb22e.zip | |
Add max-aspect-ratio to player
| -rw-r--r-- | assets/css/default.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 33751d41..464efd4b 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -181,6 +181,16 @@ img.thumbnail { margin-right: 1em; } +@media only screen and (max-aspect-ratio: 16/9) { + .player-dimensions.vjs-fluid { + padding-top: 46.86% !important; + } + + #player-container { + padding-bottom: 46.86% !important; + } +} + @media screen and (max-width: 767px) { .navbar { flex-direction: column; |
