mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
fix: submenu margin (#38714)
This commit is contained in:
parent
a8fc788f98
commit
30fb068ba5
@ -33,11 +33,6 @@ const getVerticalInlineStyle: GenerateStyle<MenuToken, CSSObject> = (token) => {
|
|||||||
width: `calc(100% - ${itemMarginInline * 2}px)`,
|
width: `calc(100% - ${itemMarginInline * 2}px)`,
|
||||||
},
|
},
|
||||||
|
|
||||||
// disable margin collapsed
|
|
||||||
[`${componentCls}-submenu`]: {
|
|
||||||
paddingBottom: 0.02,
|
|
||||||
},
|
|
||||||
|
|
||||||
[`> ${componentCls}-item,
|
[`> ${componentCls}-item,
|
||||||
> ${componentCls}-submenu > ${componentCls}-submenu-title`]: {
|
> ${componentCls}-submenu > ${componentCls}-submenu-title`]: {
|
||||||
height: menuItemHeight,
|
height: menuItemHeight,
|
||||||
|
Loading…
Reference in New Issue
Block a user