浏览代码

fix: 优化

shuisheng 2 年之前
父节点
当前提交
415169f3ea
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/views/pull/index.vue

+ 4 - 2
src/views/pull/index.vue

@@ -392,18 +392,20 @@ watch(
         }
         .media-list {
           position: relative;
-          max-width: $w-1000;
-          max-height: 562px;
 
           :deep(video) {
             display: block;
             width: 100%;
             height: 100%;
+            max-width: $w-1000;
+            max-height: 562px;
           }
           :deep(canvas) {
             display: block;
             width: 100%;
             height: 100%;
+            max-width: $w-1000;
+            max-height: 562px;
           }
           // &.item {
           //   :deep(video) {