Skip to content

Commit

Permalink
fix: The card body's border-radius will be invalid when the bodyStyle…
Browse files Browse the repository at this point in the history
… has backgroundColor attribute #38912 (#38973)
  • Loading branch information
Yukiniro authored and li-jia-nan committed Nov 25, 2022
1 parent a315c6e commit 8d5b075
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/card/style/index.tsx
Expand Up @@ -267,6 +267,7 @@ const genCardStyle: GenerateStyle<CardToken> = (token): CSSObject => {

[`${componentCls}-body`]: {
padding: cardPaddingBase,
borderRadius: ` 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px`,
...clearFix(),
},

Expand Down

0 comments on commit 8d5b075

Please sign in to comment.