style: replace word-break with overflow-wrap (#12396)

This commit is contained in:
Gavin 2023-10-25 20:31:19 +08:00 committed by GitHub
parent 243090863e
commit 2a404822f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
width: 100%; width: 100%;
text-align: left; text-align: left;
margin-bottom: var(--van-padding-base); margin-bottom: var(--van-padding-base);
word-break: break-word; overflow-wrap: break-word;
} }
&--required { &--required {

View File

@ -6,7 +6,7 @@
.van-text-ellipsis { .van-text-ellipsis {
line-height: var(--van-text-ellipsis-line-height); line-height: var(--van-text-ellipsis-line-height);
white-space: pre-wrap; white-space: pre-wrap;
word-break: break-word; overflow-wrap: break-word;
&__action { &__action {
cursor: pointer; cursor: pointer;