zhangjie 6 месяцев назад
Родитель
Сommit
d82965e0a7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/modules/card/views/CardPreview.vue

+ 1 - 1
src/modules/card/views/CardPreview.vue

@@ -165,7 +165,7 @@ export default {
       const iframeDom = document.createElement("iframe");
       document.getElementById("preview-frame").appendChild(iframeDom);
       const wwidth = window.innerWidth;
-      const wheight = window.innerHeight - 10;
+      const wheight = window.innerHeight - 60;
       iframeDom.style.cssText = `width: ${wwidth}px;height: ${wheight}px;border:none;outline:none;`;
       const iframeDoc = iframeDom.contentDocument;
       iframeDoc.open();