From ca636d329b0b65548302851fc0422151c16e9321 Mon Sep 17 00:00:00 2001 From: rex Date: Wed, 20 Feb 2019 09:48:13 +0800 Subject: [PATCH] [improvement] Notify: support word break MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 支持 #1324 --- packages/notify/index.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/notify/index.less b/packages/notify/index.less index 69d377c7..ae7aa0f7 100644 --- a/packages/notify/index.less +++ b/packages/notify/index.less @@ -1,13 +1,14 @@ @import '../common/style/var.less'; .van-notify { - z-index: 110; position: fixed; top: 0; + z-index: 110; width: 100%; - text-align: center; - box-sizing: border-box; padding: @notify-padding; font-size: @notify-font-size; line-height: @notify-line-height; + text-align: center; + word-break: break-all; + box-sizing: border-box; }