style(Toast): add transition (#8743)

This commit is contained in:
neverland 2021-05-22 19:45:09 +08:00 committed by GitHub
parent 38aeecfcb7
commit aedea6e389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@
align-items: center;
justify-content: center;
box-sizing: content-box;
transition: all @animation-duration-fast;
// hack for avoid max-width when use left & fixed
width: @toast-default-width;
@ -16,7 +17,7 @@
font-size: @toast-font-size;
line-height: @toast-line-height;
// allow newline charactor
// allow newline character
white-space: pre-wrap;
text-align: center;
word-wrap: break-word;