mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-29 18:50:00 +08:00
refactor: use css token replace 4px (#48474)
This commit is contained in:
parent
25628528b8
commit
fa6f113dde
@ -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…
Reference in New Issue
Block a user