Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
fix(Modal): close button of modal has no animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimi-Gao committed May 15, 2018
1 parent 6288bae commit e405c84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Modal/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ body.cmui-modal--open {
}
}

.cmui-modal__modal-content {
.cmui-modal__modal-dialog {
opacity: 0;
transform: scale(.98) translate3d(0, -10%, 0);
transform-origin: top;
Expand Down Expand Up @@ -142,7 +142,7 @@ div.cmui-modal--open {
.cmui-modal__backdrop {
opacity: .6;
}
.cmui-modal__modal-content {
.cmui-modal__modal-dialog {
opacity: 1;
transform: scale(1) translate3d(0, 0, 0);
}
Expand Down

0 comments on commit e405c84

Please sign in to comment.