mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-10 06:59:45 +08:00
[improvement] Toast: allow newline charactor (#1210)
This commit is contained in:
parent
43720ffa9c
commit
22d4f4eb0b
@ -13,6 +13,9 @@
|
|||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
background-color: @toast-background-color;
|
background-color: @toast-background-color;
|
||||||
|
|
||||||
|
// allow newline charactor
|
||||||
|
white-space: pre-wrap;
|
||||||
|
|
||||||
&__container {
|
&__container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user