summaryrefslogtreecommitdiffstats
path: root/assets/css/default.css
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-12 10:12:47 -0500
committerOmar Roth <omarroth@hotmail.com>2019-03-12 10:12:47 -0500
commitcf3f0fcc3986198ea89d4ef4ca11f51009bcb22e (patch)
tree9ea5519581bbadc2ac3366258da1a32ae276af08 /assets/css/default.css
parent19c32bf993d7909c91c2b511c4e32610148b1109 (diff)
downloadinvidious-cf3f0fcc3986198ea89d4ef4ca11f51009bcb22e.tar.gz
invidious-cf3f0fcc3986198ea89d4ef4ca11f51009bcb22e.tar.bz2
invidious-cf3f0fcc3986198ea89d4ef4ca11f51009bcb22e.zip
Add max-aspect-ratio to player
Diffstat (limited to '')
-rw-r--r--assets/css/default.css10
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;