Skip to content

Commit

Permalink
fix: text overflow when text omission component width is lower than m…
Browse files Browse the repository at this point in the history
…axWidth (#4364)
  • Loading branch information
WitMiao committed Sep 11, 2024
1 parent 66c732f commit ceb52aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function handleExpand() {
ref="ellipsis"
:class="{
'!cursor-pointer': expand,
['inline-block truncate']: line === 1,
['block truncate']: line === 1,
[$style.ellipsisMultiLine]: line > 1,
}"
:style="{
Expand Down

0 comments on commit ceb52aa

Please sign in to comment.