Browse Source

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

pull/4367/head
苗大 1 week ago
committed by GitHub
parent
commit
ceb52aad7f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      packages/effects/common-ui/src/components/ellipsis-text/ellipsis-text.vue

2
packages/effects/common-ui/src/components/ellipsis-text/ellipsis-text.vue

@ -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="{

Loading…
Cancel
Save