fix: Spin ptg style (#49876)

This commit is contained in:
二货爱吃白萝卜 2024-07-15 14:50:43 +08:00 committed by GitHub
parent 513a8babb8
commit 97fca5b050
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,7 +286,9 @@ const genSpinStyle: GenerateStyle<SpinToken> = (token: SpinToken): CSSObject =>
},
// small
[`&-sm ${componentCls}-dot`]: {
fontSize: token.dotSizeSM,
'&, &-holder': {
fontSize: token.dotSizeSM,
},
},
[`&-sm ${componentCls}-dot-holder`]: {
i: {
@ -300,7 +302,9 @@ const genSpinStyle: GenerateStyle<SpinToken> = (token: SpinToken): CSSObject =>
},
// large
[`&-lg ${componentCls}-dot`]: {
fontSize: token.dotSizeLG,
'&, &-holder': {
fontSize: token.dotSizeLG,
},
},
[`&-lg ${componentCls}-dot-holder`]: {
i: {