Browse Source

fix: submenu margin (#38714)

pull/38722/head
JarvisArt 2 years ago
committed by GitHub
parent
commit
30fb068ba5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      components/menu/style/vertical.tsx

5
components/menu/style/vertical.tsx

@ -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,

Loading…
Cancel
Save