fix: text overflow when text omission component width is lower than maxWidth (#4364)

pull/48/MERGE
苗大 2024-09-11 16:21:36 +08:00 committed by GitHub
parent 66c732fdee
commit ceb52aad7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ function handleExpand() {
ref="ellipsis" ref="ellipsis"
:class="{ :class="{
'!cursor-pointer': expand, '!cursor-pointer': expand,
['inline-block truncate']: line === 1, ['block truncate']: line === 1,
[$style.ellipsisMultiLine]: line > 1, [$style.ellipsisMultiLine]: line > 1,
}" }"
:style="{ :style="{