Browse Source

弹幕区域不要滚动条

任一存 3 years ago
parent
commit
45fd588f47
1 changed files with 6 additions and 6 deletions
  1. 6 6
      web/src/components/Danmaku.vue

+ 6 - 6
web/src/components/Danmaku.vue

@@ -200,12 +200,12 @@ export default {
 .danmaku-container {
 .danmaku-container {
   max-width: 340px;
   max-width: 340px;
   max-height: 288px;
   max-height: 288px;
-  overflow-x: hidden;
-  overflow-y: scroll;
-
-  &::-webkit-scrollbar{
-    width: 2px;
-  }
+  overflow: hidden;
+  // overflow-x: hidden;
+  // overflow-y: scroll;
+  // &::-webkit-scrollbar{
+  //   width: 2px;
+  // }
 }
 }
 
 
 /* .hidedanmu{
 /* .hidedanmu{