diff options
| author | Mark Otto <[email protected]> | 2016-10-26 21:15:31 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-10-26 21:15:31 -0700 |
| commit | a0599a245d93b85008b0ac3fa5ee5f854c8a78dc (patch) | |
| tree | 23db4afef37a54429b560dba41518c42964b645d | |
| parent | bcbbc8eeda78ff4d32e844d63c26d112f9a9cf19 (diff) | |
| download | bootstrap-a0599a245d93b85008b0ac3fa5ee5f854c8a78dc.tar.xz bootstrap-a0599a245d93b85008b0ac3fa5ee5f854c8a78dc.zip | |
Follow up to #20982 to fix css for modals
| -rw-r--r-- | scss/_modal.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss index c326d5699..39554581d 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 |
