Skip to content

Commit

Permalink
refactor: use css token replace 4px (#48474)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Apr 16, 2024
1 parent 2562852 commit fa6f113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/card/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
},

Expand Down
2 changes: 1 addition & 1 deletion components/date-picker/style/panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {

'&::-webkit-scrollbar-thumb': {
backgroundColor: token.colorTextTertiary,
borderRadius: 4,
borderRadius: token.borderRadiusSM,
},

// For Firefox
Expand Down

0 comments on commit fa6f113

Please sign in to comment.