Skip to content

Commit

Permalink
Merge pull request #819 from oceanbase/dengfuping-dev
Browse files Browse the repository at this point in the history
improve(design): Card body padding-bottom without divider
  • Loading branch information
dengfuping authored Nov 11, 2024
2 parents 84ada17 + 806cf0e commit b3d2b42
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 b3d2b42

Please sign in to comment.