qinyan před 1 rokem
rodič
revize
05778855ed

+ 2 - 2
src/modules/editor/components/Viewport/Slider/SliderLeft/Templates/PreviewTplModal.tsx

@@ -16,9 +16,9 @@ export default defineUI({
 
       return (
         <div class="flex">
-          <div class="w-660px h-660px py-20px bg-[#1F1F1F]">
+          <div class="w-660px h-690px py-20px bg-[#1F1F1F]">
             <iframe
-              class="w-375px h-620px mx-140px"
+              class="w-375px h-650px mx-140px"
               src={shareLink}
               frameborder="0"
               scrolling="no"

+ 7 - 1
src/pages/h5/share/Promotion.tsx

@@ -1,5 +1,6 @@
 import { initEditor } from "@/modules/editor";
 import { Design_Page_Size } from "@/modules/editor/dicts/CompOptions";
+import { cx } from "@linaria/core";
 import { isPc } from "@queenjs/utils";
 import { defineComponent } from "vue";
 
@@ -41,7 +42,12 @@ export default defineComponent(() => {
   // })
 
   return () => (
-    <div class="flex items-center justify-center bg-gray-100">
+    <div
+      class={cx(
+        isPc() && "h-100vh",
+        "flex items-center justify-center bg-gray-100"
+      )}
+    >
       <div
         class={isPc() ? `scrollbar overflow-x-hidden` : `overflow-x-hidden`}
         style={{