Browse Source

src: add a patch class ".dplayer-web-fullscreen-fix"

Micooz 7 năm trước cách đây
mục cha
commit
c7a7e6c519
1 tập tin đã thay đổi với 10 bổ sung1 xóa
  1. 10 1
      src/DPlayer.scss

+ 10 - 1
src/DPlayer.scss

@@ -1261,4 +1261,13 @@
 
 [data-balloon][data-balloon-pos="up"]:after {
     margin-bottom: 0;
-}
+}
+
+// To hide scroll bar, apply this class to <body>
+.dplayer-web-fullscreen-fix {
+    position: fixed;
+    top: 0;
+    left: 0;
+    margin: 0;
+    padding: 0;
+}