style: fix Menu item background transition style (#50624)

This commit is contained in:
afc163 2024-08-29 14:05:22 +08:00 committed by GitHub
parent bfd2c06987
commit b27b06250f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,9 +128,6 @@ const getVerticalStyle: GenerateStyle<MenuToken> = (token) => {
`border-color ${motionDurationSlow}`,
`background ${motionDurationSlow}`,
`padding ${motionDurationMid} ${motionEaseOut}`,
`padding-inline calc(50% - ${unit(token.calc(fontSizeLG).div(2).equal())} - ${unit(
itemMarginInline,
)})`,
].join(','),
[`> ${componentCls}-title-content`]: {