diff --git a/packages/core/client/src/pm/style.ts b/packages/core/client/src/pm/style.ts index f55405c0588..8cfc138e8d4 100644 --- a/packages/core/client/src/pm/style.ts +++ b/packages/core/client/src/pm/style.ts @@ -21,6 +21,7 @@ export const useStyles = createStyles(({ token }) => { }, pageContent: { margin: token.marginLG, + fontSize: 0, // 防止幽灵节点影响间距 }, // pageContent: { // marginTop: token.margin, diff --git a/packages/plugins/@nocobase/plugin-theme-editor/src/client/components/ThemeList.tsx b/packages/plugins/@nocobase/plugin-theme-editor/src/client/components/ThemeList.tsx index 447883940cf..424e7c7fd4d 100644 --- a/packages/plugins/@nocobase/plugin-theme-editor/src/client/components/ThemeList.tsx +++ b/packages/plugins/@nocobase/plugin-theme-editor/src/client/components/ThemeList.tsx @@ -26,7 +26,7 @@ const ThemeList = () => { } return ( - + {data?.map((item) => { return ; })}