Skip to content

Commit

Permalink
Merge branch 'ant-design:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
LofiSu authored Dec 18, 2024
2 parents 2caba89 + 4e5e828 commit 56fda5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/thought-chain/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const genThoughtChainItemBeforePseudoStyle: GenerateThoughtChainItemStyle = (tok
position: 'relative',

'&::before': {
bottom: `${token.calc(token.itemGap).mul(-1).equal()}`,
bottom: calc(token.itemGap).mul(-1).equal(),
},
},
[`& ${itemCls}-header, & ${itemCls}-content`]: {
Expand All @@ -131,7 +131,7 @@ const genThoughtChainItemBeforePseudoStyle: GenerateThoughtChainItemStyle = (tok
},
[`& ${itemCls}-header::before`]: {
top: token.itemSize,
bottom: `${token.calc(token.itemGap).mul(-2).equal()}`,
bottom: calc(token.itemGap).mul(-2).equal(),
},
[`& ${itemCls}-content::before`]: {
top: '100%',
Expand Down Expand Up @@ -180,7 +180,7 @@ const genThoughtChainItemStyle: GenerateThoughtChainItemStyle = (token) => {

[`& ${itemCls}-title`]: {
height: token.itemSize,
lineHeight: token.itemSize,
lineHeight: `${unit(token.itemSize)}`,
maxHeight: token.itemSize,
fontSize: token.itemFontSize,

Expand Down

0 comments on commit 56fda5f

Please sign in to comment.