浏览代码

修复b站视频大小

tianyunperfect 4 年之前
父节点
当前提交
7d062a44eb
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      src/pages/Memory/index.less

+ 6 - 3
src/pages/Memory/index.less

@@ -25,14 +25,17 @@
     }
 
     /* Bubble Theme */
+
     .ql-bubble .ql-editor {
       border: 1px solid #cccccc;
       //border-radius: 0.5em;
     }
 
-    .ql-editor > .ql-video {
-      min-height: 400px;
-      min-width: 580px;
+    @media (min-width: 800px) {
+      .ql-editor > .ql-video {
+        min-height: 400px;
+        min-width: 580px;
+      }
     }
   }
 }