mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 02:41:46 +08:00
style(Toast): adjust work break (#8966)
This commit is contained in:
parent
c48883e7c8
commit
2609a7c7c1
@ -19,10 +19,11 @@
|
|||||||
font-size: @toast-font-size;
|
font-size: @toast-font-size;
|
||||||
line-height: @toast-line-height;
|
line-height: @toast-line-height;
|
||||||
|
|
||||||
// allow newline charactor
|
// 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: @toast-background-color;
|
background-color: @toast-background-color;
|
||||||
border-radius: @toast-border-radius;
|
border-radius: @toast-border-radius;
|
||||||
transform: translate3d(-50%, -50%, 0);
|
transform: translate3d(-50%, -50%, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user