From 5b5e5c0852e053b82b0fb1ad04547f750a0a092a Mon Sep 17 00:00:00 2001 From: chenos Date: Sun, 19 Jun 2022 16:45:20 +0800 Subject: [PATCH] feat(client): hide drawer header --- .../src/schema-component/antd/action/Action.Drawer.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx b/packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx index b61df22030..5c29ceeef8 100644 --- a/packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx +++ b/packages/core/client/src/schema-component/antd/action/Action.Drawer.tsx @@ -39,6 +39,12 @@ export const ActionDrawer: ComposedActionDrawer = observer((props) => { others.className, css` &.nb-action-popup { + .ant-drawer-header { + display: none; + } + .ant-drawer-body { + padding-top: 14px; + } .ant-drawer-content { background: #f0f2f5; }