mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
[Improvement] uniform fade animation (#410)
This commit is contained in:
@@ -17,10 +17,6 @@
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
background-color: rgba(39, 39, 39, .7);
|
||||
|
||||
&-wrapper {
|
||||
transition: opacity .2s;
|
||||
}
|
||||
|
||||
&__overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -68,7 +64,3 @@
|
||||
bottom: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.van-toast-fade-enter, .van-toast-fade-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user