Commit ceb52aad by 苗大 Committed by GitHub

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

1 parent 66c732fd
...@@ -116,7 +116,7 @@ function handleExpand() { ...@@ -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="{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!