From cb200de34ed847ac669e8fe84153b80177ff3f0d Mon Sep 17 00:00:00 2001 From: jack zhang <1098626505@qq.com> Date: Tue, 5 Dec 2023 10:15:08 +0800 Subject: [PATCH] fix: menu height bug (#3137) --- .../components/SchemaInitializerSubMenu.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/client/src/application/schema-initializer/components/SchemaInitializerSubMenu.tsx b/packages/core/client/src/application/schema-initializer/components/SchemaInitializerSubMenu.tsx index 4faf4ff70..f66627724 100644 --- a/packages/core/client/src/application/schema-initializer/components/SchemaInitializerSubMenu.tsx +++ b/packages/core/client/src/application/schema-initializer/components/SchemaInitializerSubMenu.tsx @@ -46,7 +46,9 @@ export const SchemaInitializerMenu: FC = (props) => { rootClassName={css` box-shadow: none !important; border-inline-end: 0 !important; - max-height: 50vh !important; + .ant-menu-sub { + max-height: 50vh !important; + } .ant-menu-root { margin: 0 -${token.margin}px; .ant-menu-submenu-title {