fix: menu inline transition (#39800)

This commit is contained in:
JarvisArt 2022-12-25 22:55:47 +08:00 committed by GitHub
parent fa6c9c15f4
commit a16e2a7bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ const getBaseStyle: GenerateStyle<MenuToken> = (token) => {
transition: [
`background ${motionDurationSlow} ${motionEaseInOut}`,
`padding ${motionDurationSlow} ${motionEaseInOut}`,
],
].join(','),
},
[`${componentCls}-title-content`]: {

View File

@ -128,7 +128,7 @@ const getVerticalStyle: GenerateStyle<MenuToken> = (token) => {
`border-color ${motionDurationSlow}`,
`background ${motionDurationSlow}`,
`padding ${motionDurationMid} ${motionEaseOut}`,
],
].join(','),
[`> ${componentCls}-title-content`]: {
flex: 'auto',