1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

style(Toast): adjust work break ()

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

@ -38,7 +38,8 @@
// allow newline character // allow newline character
white-space: pre-wrap; white-space: pre-wrap;
text-align: center; 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); background-color: var(--van-toast-background-color);
border-radius: var(--van-toast-border-radius); border-radius: var(--van-toast-border-radius);