mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
fix(Dialog): incorrect transform behavior (#11028)
This commit is contained in:
parent
fd9cf38022
commit
4756168ae7
@ -132,12 +132,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-bounce-enter-from {
|
&-bounce-enter-from {
|
||||||
transform: translate3d(-50%, -50%, 0) scale(0.7);
|
transform: translate3d(0, -50%, 0) scale(0.7);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-bounce-leave-active {
|
&-bounce-leave-active {
|
||||||
transform: translate3d(-50%, -50%, 0) scale(0.9);
|
transform: translate3d(0, -50%, 0) scale(0.9);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user