[improvement] Notify: support word break

支持 #1324
This commit is contained in:
rex 2019-02-20 09:48:13 +08:00 committed by GitHub
parent b5712661a2
commit ca636d329b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,14 @@
@import '../common/style/var.less'; @import '../common/style/var.less';
.van-notify { .van-notify {
z-index: 110;
position: fixed; position: fixed;
top: 0; top: 0;
z-index: 110;
width: 100%; width: 100%;
text-align: center;
box-sizing: border-box;
padding: @notify-padding; padding: @notify-padding;
font-size: @notify-font-size; font-size: @notify-font-size;
line-height: @notify-line-height; line-height: @notify-line-height;
text-align: center;
word-break: break-all;
box-sizing: border-box;
} }