Skip to content

Commit

Permalink
fix: menu inline transition (#39800)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisArt committed Dec 25, 2022
1 parent fa6c9c1 commit a16e2a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/menu/style/index.tsx
Expand Up @@ -298,7 +298,7 @@ const getBaseStyle: GenerateStyle<MenuToken> = (token) => {
transition: [
`background ${motionDurationSlow} ${motionEaseInOut}`,
`padding ${motionDurationSlow} ${motionEaseInOut}`,
],
].join(','),
},

[`${componentCls}-title-content`]: {
Expand Down
2 changes: 1 addition & 1 deletion components/menu/style/vertical.tsx
Expand Up @@ -128,7 +128,7 @@ const getVerticalStyle: GenerateStyle<MenuToken> = (token) => {
`border-color ${motionDurationSlow}`,
`background ${motionDurationSlow}`,
`padding ${motionDurationMid} ${motionEaseOut}`,
],
].join(','),

[`> ${componentCls}-title-content`]: {
flex: 'auto',
Expand Down

0 comments on commit a16e2a7

Please sign in to comment.