Skip to content

Commit

Permalink
fix(card): remove reset fontFamily
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Mar 21, 2023
1 parent 9f16096 commit b33dfef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/card/src/components/Card/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ const genProCardStyle: GenerateStyle<ProCardToken> = (token) => {
backgroundColor: token.colorBgContainer,
borderRadius: token.borderRadius,
...resetComponent?.(token),
'*': {
boxSizing: 'border-box',
fontFamily: token.fontFamily,
},

'&-box-shadow': {
boxShadow: '0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017',
borderColor: 'transparent',
Expand Down

0 comments on commit b33dfef

Please sign in to comment.