@nocobase/plugin-theme-editor 0.12.0-alpha.2 → 0.12.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17440,9 +17440,9 @@
17440
17440
  };
17441
17441
  }, []);
17442
17442
  const contentStyle2 = React$3.useMemo(() => {
17443
- return open ? { transform: "rotate(0)", flexGrow: 1, width: 0 } : { flexGrow: 1, width: 0 };
17443
+ return open ? { transform: "rotate(0)", flexGrow: 1, width: 0, height: "100%" } : { flexGrow: 1, width: 0, height: "100%" };
17444
17444
  }, [open]);
17445
- const editor = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex", overflow: "hidden" }, children: [
17445
+ const editor = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex", overflow: "hidden", height: "100%" }, children: [
17446
17446
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: contentStyle2, children: props2.children }),
17447
17447
  open ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.editor, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CustomTheme, { onThemeChange: setTheme }) }) : null
17448
17448
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-theme-editor",
3
- "version": "0.12.0-alpha.2",
3
+ "version": "0.12.0-alpha.4",
4
4
  "main": "dist/server/index.js",
5
5
  "displayName": "Theme editor",
6
6
  "displayName.zh-CN": "主题编辑器",
@@ -30,5 +30,5 @@
30
30
  "@nocobase/test": "0.x",
31
31
  "@nocobase/utils": "0.x"
32
32
  },
33
- "gitHead": "a95e9e2666f0318c955113a4735bc005a2c9a767"
33
+ "gitHead": "215dc3b2437c501ca903b56cc378ab5e81c8a11c"
34
34
  }