fix: submenu margin (#38714)

This commit is contained in:
JarvisArt 2022-11-18 23:58:17 +08:00 committed by GitHub
parent a8fc788f98
commit 30fb068ba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,11 +33,6 @@ const getVerticalInlineStyle: GenerateStyle<MenuToken, CSSObject> = (token) => {
width: `calc(100% - ${itemMarginInline * 2}px)`,
},
// disable margin collapsed
[`${componentCls}-submenu`]: {
paddingBottom: 0.02,
},
[`> ${componentCls}-item,
> ${componentCls}-submenu > ${componentCls}-submenu-title`]: {
height: menuItemHeight,