style(Toast): adjust work break (#8965)

This commit is contained in:
neverland 2021-07-01 20:59:49 +08:00 committed by GitHub
parent 2a6ca48197
commit cf3c9694df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,8 @@
// allow newline character
white-space: pre-wrap;
text-align: center;
word-wrap: break-word;
// https://github.com/youzan/vant/issues/8959
word-break: break-all;
background-color: var(--van-toast-background-color);
border-radius: var(--van-toast-border-radius);