From 2630f25e51a4b75177c5a033af99061e0573696e Mon Sep 17 00:00:00 2001 From: Junyi Date: Fri, 24 Nov 2023 11:28:36 +0800 Subject: [PATCH] refactor(plugin-workflow): show header of manual drawer (#3085) --- .../src/client/nodes/manual/SchemaConfig.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/manual/SchemaConfig.tsx b/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/manual/SchemaConfig.tsx index d84dba51c..5622db6cb 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/manual/SchemaConfig.tsx +++ b/packages/plugins/@nocobase/plugin-workflow/src/client/nodes/manual/SchemaConfig.tsx @@ -19,6 +19,7 @@ import { SchemaInitializerProvider, SchemaSettings, VariableScopeProvider, + css, gridRowColWrap, useCollectionManager, useCompile, @@ -411,11 +412,15 @@ export function SchemaConfig({ value, onChange }) { properties: { drawer: { type: 'void', - title: '{{t("Configure form")}}', + title: `{{t("User interface", { ns: "${NAMESPACE}" })}}`, 'x-decorator': 'Form', 'x-component': 'Action.Drawer', 'x-component-props': { - className: 'nb-action-popup', + className: css` + .ant-drawer-body { + background: var(--nb-box-bg); + } + `, }, properties: { tabs: {