fix: The card body's border-radius will be invalid when the bodyStyle has backgroundColor attribute #38912 (#38973)

This commit is contained in:
Zhanghao 2022-11-25 11:53:28 +08:00 committed by GitHub
parent 9c7b395a7d
commit e66fcbd449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,6 +267,7 @@ const genCardStyle: GenerateStyle<CardToken> = (token): CSSObject => {
[`${componentCls}-body`]: {
padding: cardPaddingBase,
borderRadius: ` 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px`,
...clearFix(),
},