fix: menu height 50vh (#3135)

This commit is contained in:
jack zhang 2023-12-04 19:49:13 +08:00 committed by GitHub
parent 1b80cc431b
commit f3cb6bf62c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ export const SchemaInitializerMenu: FC<MenuProps> = (props) => {
rootClassName={css` rootClassName={css`
box-shadow: none !important; box-shadow: none !important;
border-inline-end: 0 !important; border-inline-end: 0 !important;
max-height: 50vh !important;
.ant-menu-root { .ant-menu-root {
margin: 0 -${token.margin}px; margin: 0 -${token.margin}px;
.ant-menu-submenu-title { .ant-menu-submenu-title {