Long Hao (龙濠)
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
components/slider/style/index.tsx
|
|
@ -170,6 +170,7 @@ const genBaseStyle: GenerateStyle<SliderToken> = (token) => { |
|
|
|
[`${componentCls}-step`]: { |
|
|
|
position: 'absolute', |
|
|
|
background: 'transparent', |
|
|
|
pointerEvents: 'none', |
|
|
|
}, |
|
|
|
|
|
|
|
[`${componentCls}-dot`]: { |
|
|
@ -181,6 +182,7 @@ const genBaseStyle: GenerateStyle<SliderToken> = (token) => { |
|
|
|
borderRadius: '50%', |
|
|
|
cursor: 'pointer', |
|
|
|
transition: `border-color ${token.motionDurationSlow}`, |
|
|
|
pointerEvents: 'auto', |
|
|
|
|
|
|
|
'&-active': { |
|
|
|
borderColor: token.colorPrimaryBorder, |
|
|
|