fix: inline steps transitions to regular styles (#38449)

This commit is contained in:
JarvisArt 2022-11-09 14:44:49 +08:00 committed by GitHub
parent cbcfd38ca7
commit 28fd4620d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,9 +24,9 @@ const genStepsInlineStyle: GenerateStyle<StepsToken, CSSObject> = token => {
margin: `0 ${token.marginXXS / 2}px`,
borderRadius: token.borderRadiusSM,
cursor: 'pointer',
transition: `background-color ${token.motionDurationFast}`,
'&:hover': {
background: token.controlItemBgHover,
transition: `background-color ${token.motionDurationFast}`,
},
[`&[role='button']:hover`]: {
opacity: 1,