diff --git a/scss/_modal.scss b/scss/_modal.scss index c326d5699eb1..39554581d39c 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -31,7 +31,7 @@ transition: transform .3s ease-out; transform: translate(0, -25%); } - &.in .modal-dialog { transform: translate(0, 0); } + &.active .modal-dialog { transform: translate(0, 0); } } .modal-open .modal { overflow-x: hidden; @@ -69,7 +69,7 @@ // Fade for backdrop &.fade { opacity: 0; } - &.in { opacity: $modal-backdrop-opacity; } + &.active { opacity: $modal-backdrop-opacity; } } // Modal header