diff --git a/packages/core/client/src/application/schema-initializer/components/SchemaInitializerButton.tsx b/packages/core/client/src/application/schema-initializer/components/SchemaInitializerButton.tsx index 4bf5282363..443fd830f4 100644 --- a/packages/core/client/src/application/schema-initializer/components/SchemaInitializerButton.tsx +++ b/packages/core/client/src/application/schema-initializer/components/SchemaInitializerButton.tsx @@ -28,7 +28,18 @@ export const SchemaInitializerButton: FC = React.m icon={typeof options.icon === 'string' ? : options.icon} {...others} > - {compile(options.title)} + + {compile(options.title)} + ); }); diff --git a/packages/core/client/src/modules/menu/menuItemInitializer.tsx b/packages/core/client/src/modules/menu/menuItemInitializer.tsx index 4c146fce81..b5271258f0 100644 --- a/packages/core/client/src/modules/menu/menuItemInitializer.tsx +++ b/packages/core/client/src/modules/menu/menuItemInitializer.tsx @@ -8,6 +8,9 @@ export const menuItemInitializer = new SchemaInitializer({ insertPosition: 'beforeEnd', icon: 'PlusOutlined', title: '{{t("Add menu item")}}', + style: { + width: '100%', + }, items: [ { name: 'group',