Skip to content

Commit 56fda5f

Browse files
authored
Merge branch 'ant-design:main' into main
2 parents 2caba89 + 4e5e828 commit 56fda5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/thought-chain/style/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const genThoughtChainItemBeforePseudoStyle: GenerateThoughtChainItemStyle = (tok
118118
position: 'relative',
119119

120120
'&::before': {
121-
bottom: `${token.calc(token.itemGap).mul(-1).equal()}`,
121+
bottom: calc(token.itemGap).mul(-1).equal(),
122122
},
123123
},
124124
[`& ${itemCls}-header, & ${itemCls}-content`]: {
@@ -131,7 +131,7 @@ const genThoughtChainItemBeforePseudoStyle: GenerateThoughtChainItemStyle = (tok
131131
},
132132
[`& ${itemCls}-header::before`]: {
133133
top: token.itemSize,
134-
bottom: `${token.calc(token.itemGap).mul(-2).equal()}`,
134+
bottom: calc(token.itemGap).mul(-2).equal(),
135135
},
136136
[`& ${itemCls}-content::before`]: {
137137
top: '100%',
@@ -180,7 +180,7 @@ const genThoughtChainItemStyle: GenerateThoughtChainItemStyle = (token) => {
180180

181181
[`& ${itemCls}-title`]: {
182182
height: token.itemSize,
183-
lineHeight: token.itemSize,
183+
lineHeight: `${unit(token.itemSize)}`,
184184
maxHeight: token.itemSize,
185185
fontSize: token.itemFontSize,
186186

0 commit comments

Comments
 (0)