File tree 1 file changed +3
-3
lines changed
components/thought-chain/style
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const genThoughtChainItemBeforePseudoStyle: GenerateThoughtChainItemStyle = (tok
118
118
position : 'relative' ,
119
119
120
120
'&::before' : {
121
- bottom : ` ${ token . calc ( token . itemGap ) . mul ( - 1 ) . equal ( ) } ` ,
121
+ bottom : calc ( token . itemGap ) . mul ( - 1 ) . equal ( ) ,
122
122
} ,
123
123
} ,
124
124
[ `& ${ itemCls } -header, & ${ itemCls } -content` ] : {
@@ -131,7 +131,7 @@ const genThoughtChainItemBeforePseudoStyle: GenerateThoughtChainItemStyle = (tok
131
131
} ,
132
132
[ `& ${ itemCls } -header::before` ] : {
133
133
top : token . itemSize ,
134
- bottom : ` ${ token . calc ( token . itemGap ) . mul ( - 2 ) . equal ( ) } ` ,
134
+ bottom : calc ( token . itemGap ) . mul ( - 2 ) . equal ( ) ,
135
135
} ,
136
136
[ `& ${ itemCls } -content::before` ] : {
137
137
top : '100%' ,
@@ -180,7 +180,7 @@ const genThoughtChainItemStyle: GenerateThoughtChainItemStyle = (token) => {
180
180
181
181
[ `& ${ itemCls } -title` ] : {
182
182
height : token . itemSize ,
183
- lineHeight : token . itemSize ,
183
+ lineHeight : ` ${ unit ( token . itemSize ) } ` ,
184
184
maxHeight : token . itemSize ,
185
185
fontSize : token . itemFontSize ,
186
186
You can’t perform that action at this time.
0 commit comments