Improve embed video player responsive
authorChocobozzz <me@florianbigard.com>
Mon, 26 Mar 2018 11:44:52 +0000 (13:44 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 26 Mar 2018 11:55:27 +0000 (13:55 +0200)
client/src/sass/video-js-custom.scss

index 88af9cbc5b365f16fe41989deb214baf1119acb6..db338dd387918f048ae0b4f71c4043e3d6798173 100644 (file)
@@ -378,8 +378,16 @@ $control-bar-height: 34px;
   }
 
   @media screen and (max-width: 550px) {
+    .vjs-dock-text {
+      font-size: 14px;
+    }
+
+    .vjs-dock-description {
+      font-size: 9px;
+    }
+
     .vjs-big-play-button {
-      font-size: 5em;
+      font-size: 4.5em;
     }
 
     .vjs-playback-rate {
@@ -400,10 +408,6 @@ $control-bar-height: 34px;
       font-size: 13px;
     }
 
-    .vjs-dock-description {
-      font-size: 9px;
-    }
-
     .vjs-big-play-button {
       font-size: 4em;
     }