Skip to content

Commit

Permalink
fix(modal): do not animate transform-origin
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwoodland committed Jul 7, 2022
1 parent d7b47d9 commit 5fb6890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/Modal/Modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
.modal-card {
width: fit-content;
box-shadow: @ui-shadow;
transform-origin: 50% 200%;
}

.modal-container {
Expand Down Expand Up @@ -114,7 +115,6 @@
.modal-card {
opacity: 0;
transform: perspective(400px) rotateX(2deg);
transform-origin: 50% 200%;
filter: @light-blur;
}
}

0 comments on commit 5fb6890

Please sign in to comment.