Browse Source

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

pull/38472/head
JarvisArt 2 years ago
committed by GitHub
parent
commit
28fd4620d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/steps/style/inline.ts

2
components/steps/style/inline.ts

@ -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,

Loading…
Cancel
Save