Browse Source

fix: segmented sm style (#37666)

pull/37679/head
MadCcc 2 years ago
committed by GitHub
parent
commit
5966ee19d1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/segmented/style/index.tsx

2
components/segmented/style/index.tsx

@ -150,7 +150,7 @@ const genSegmentedStyle: GenerateStyle<SegmentedToken> = (token: SegmentedToken)
'&&-sm': {
borderRadius: token.controlRadiusSM,
[`&&-sm ${componentCls}-item-label`]: {
[`${componentCls}-item-label`]: {
minHeight: token.controlHeightSM - token.segmentedContainerPadding * 2,
lineHeight: `${token.controlHeightSM - token.segmentedContainerPadding * 2}px`,
padding: `0 ${token.segmentedPaddingHorizontalSM}px`,

Loading…
Cancel
Save