refactor: use css token replace 4px (#48474)

pull/48478/head
lijianan 9 months ago committed by GitHub
parent 25628528b8
commit fa6f113dde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -307,7 +307,7 @@ const genCardStyle: GenerateStyle<CardToken> = (token): CSSObject => {
[`${componentCls}-body`]: {
padding: cardPaddingBase,
borderRadius: ` 0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`,
borderRadius: `0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`,
...clearFix(),
},

@ -562,7 +562,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
'&::-webkit-scrollbar-thumb': {
backgroundColor: token.colorTextTertiary,
borderRadius: 4,
borderRadius: token.borderRadiusSM,
},
// For Firefox

Loading…
Cancel
Save