Browse Source

inset兼容性问题

wyling 3 năm trước cách đây
mục cha
commit
dbdc522f40
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/components/VideoPreview/src/index.vue

+ 4 - 1
src/components/VideoPreview/src/index.vue

@@ -26,7 +26,10 @@ export default {
 <style scoped lang="scss">
 .background-box {
   position: fixed;
-  inset: 0;
+  left: 0;
+  right: 0;
+  top: 0;
+  bottom: 0;
   background-color: rgba($color: #000000, $alpha: 0.325);
   z-index: 9999;
   display: flex;