Skip to content

Commit

Permalink
improve(design): Card body padding-bottom without divider
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Nov 11, 2024
1 parent 80e814f commit 806cf0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/design/src/card/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ export const genCardStyle: GenerateStyle<CardToken> = (token: CardToken): CSSObj
},
[`${componentCls}${componentCls}-no-divider:not(${componentCls}-contain-tabs)`]: {
[`${componentCls}-body`]: {
padding: `0 ${paddingLG}px ${padding}px ${paddingLG}px`,
padding: `0 ${paddingLG}px ${paddingLG}px ${paddingLG}px`,
},
},
[`${componentCls}-small${componentCls}-no-divider:not(${componentCls}-contain-tabs)`]: {
[`${componentCls}-body`]: {
padding: `0 ${paddingSM}px 12px ${paddingSM}px`,
padding: `0 ${paddingSM}px ${paddingSM}px ${paddingSM}px`,
},
},
[`${componentCls}${componentCls}-contain-tabs`]: {
Expand Down

0 comments on commit 806cf0e

Please sign in to comment.