fix: segmented sm style (#37666)

This commit is contained in:
MadCcc 2022-09-21 10:35:14 +08:00 committed by GitHub
parent c61f283487
commit 5966ee19d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`,