mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[improvement] Toast: allow newline charactor (#2496)
This commit is contained in:
@@ -21,6 +21,9 @@
|
|||||||
// hack for avoid max-width when use left & fixed
|
// hack for avoid max-width when use left & fixed
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
|
||||||
|
// allow newline charactor
|
||||||
|
white-space: pre-wrap;
|
||||||
|
|
||||||
// should not add pointer-events: none directly to body tag
|
// should not add pointer-events: none directly to body tag
|
||||||
// that will cause unexpected tap-highlight-color in mobile safari
|
// that will cause unexpected tap-highlight-color in mobile safari
|
||||||
&--unclickable {
|
&--unclickable {
|
||||||
|
Reference in New Issue
Block a user