fix(Dialog): incorrect transform behavior (#11028)

This commit is contained in:
neverland 2022-09-11 09:43:49 +08:00 committed by GitHub
parent fd9cf38022
commit 4756168ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }
} }