|
@@ -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={{
|