mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +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`]: {
|
[`${componentCls}-body`]: {
|
||||||
padding: cardPaddingBase,
|
padding: cardPaddingBase,
|
||||||
borderRadius: ` 0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`,
|
borderRadius: `0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}`,
|
||||||
...clearFix(),
|
...clearFix(),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -562,7 +562,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
|
|||||||
|
|
||||||
'&::-webkit-scrollbar-thumb': {
|
'&::-webkit-scrollbar-thumb': {
|
||||||
backgroundColor: token.colorTextTertiary,
|
backgroundColor: token.colorTextTertiary,
|
||||||
borderRadius: 4,
|
borderRadius: token.borderRadiusSM,
|
||||||
},
|
},
|
||||||
|
|
||||||
// For Firefox
|
// For Firefox
|
||||||
|
Loading…
Reference in New Issue
Block a user