From cf3c9694df53716d6eb7f2a0eaeff75cd51f3ed3 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 1 Jul 2021 20:59:49 +0800 Subject: [PATCH] style(Toast): adjust work break (#8965) --- src/toast/index.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/toast/index.less b/src/toast/index.less index 92a4d1d07..1f37f5b82 100644 --- a/src/toast/index.less +++ b/src/toast/index.less @@ -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);