diff --git a/components/menu/style/vertical.ts b/components/menu/style/vertical.ts index 3a561cdb11..e8f90cc22a 100644 --- a/components/menu/style/vertical.ts +++ b/components/menu/style/vertical.ts @@ -182,7 +182,7 @@ const getVerticalStyle: GenerateStyle = (token) => { > ${componentCls}-item-group > ${componentCls}-item-group-list > ${componentCls}-submenu > ${componentCls}-submenu-title, > ${componentCls}-submenu > ${componentCls}-submenu-title`]: { insetInlineStart: 0, - paddingInline: `calc(50% - ${unit(token.calc(fontSizeLG).div(2).equal())} - ${unit( + paddingInline: `calc(50% - ${unit(token.calc(collapsedIconSize).div(2).equal())} - ${unit( itemMarginInline, )})`, textOverflow: 'clip',