[improvement] Toast: allow newline charactor (#2496)

This commit is contained in:
neverland 2019-01-11 21:43:53 +08:00 committed by GitHub
parent 5e623c1e34
commit 12a8f3a032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,9 @@
// hack for avoid max-width when use left & fixed
width: fit-content;
// allow newline charactor
white-space: pre-wrap;
// should not add pointer-events: none directly to body tag
// that will cause unexpected tap-highlight-color in mobile safari
&--unclickable {