From 99dd982aeeae4c3da0c003fede8ab0b26b7052cb Mon Sep 17 00:00:00 2001 From: hu <13638682603@163.com> Date: Tue, 27 Jun 2023 21:34:23 +0800 Subject: [PATCH] feat(ellipsis): improve break lines of Chinese, Japanese, or Korean text (#12030) --- packages/vant/src/style/mixins/ellipsis.less | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vant/src/style/mixins/ellipsis.less b/packages/vant/src/style/mixins/ellipsis.less index 44b97b728..b68ad8841 100644 --- a/packages/vant/src/style/mixins/ellipsis.less +++ b/packages/vant/src/style/mixins/ellipsis.less @@ -3,6 +3,7 @@ overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: @lines; + line-break: anywhere; /* autoprefixer: ignore next */ -webkit-box-orient: vertical;