diff --git a/packages/effects/common-ui/src/components/ellipsis-text/ellipsis-text.vue b/packages/effects/common-ui/src/components/ellipsis-text/ellipsis-text.vue index 7e6572eb3..bd4f1fd38 100644 --- a/packages/effects/common-ui/src/components/ellipsis-text/ellipsis-text.vue +++ b/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="{