feat: migrate Toast component

This commit is contained in:
chenjiahan
2020-08-07 07:16:33 +08:00
parent 17c64b24e7
commit 5d2cd516ed
5 changed files with 96 additions and 87 deletions
-4
View File
@@ -1,9 +1,6 @@
@import '../style/var';
.van-toast {
position: fixed;
top: 50%;
left: 50%;
display: flex;
flex-direction: column;
align-items: center;
@@ -25,7 +22,6 @@
word-wrap: break-word;
background-color: @toast-background-color;
border-radius: @toast-border-radius;
transform: translate3d(-50%, -50%, 0);
&--unclickable {
// lock scroll