fix: menu height bug (#3137)

This commit is contained in:
jack zhang 2023-12-05 10:15:08 +08:00 committed by GitHub
parent f3cb6bf62c
commit cb200de34e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,9 @@ export const SchemaInitializerMenu: FC<MenuProps> = (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 {