Browse Source

fix: 优化

shuisheng 2 years ago
parent
commit
415169f3ea
1 changed files with 4 additions and 2 deletions
  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) {