diff --git a/packages/vant/src/field/index.less b/packages/vant/src/field/index.less index dd9404ceb..e461a90ed 100644 --- a/packages/vant/src/field/index.less +++ b/packages/vant/src/field/index.less @@ -45,7 +45,7 @@ width: 100%; text-align: left; margin-bottom: var(--van-padding-base); - word-break: break-word; + overflow-wrap: break-word; } &--required { diff --git a/packages/vant/src/text-ellipsis/index.less b/packages/vant/src/text-ellipsis/index.less index af78f7489..766f3785a 100644 --- a/packages/vant/src/text-ellipsis/index.less +++ b/packages/vant/src/text-ellipsis/index.less @@ -6,7 +6,7 @@ .van-text-ellipsis { line-height: var(--van-text-ellipsis-line-height); white-space: pre-wrap; - word-break: break-word; + overflow-wrap: break-word; &__action { cursor: pointer;