]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Follow up to #20982 to fix css for modals
authorMark Otto <markdotto@gmail.com>
Thu, 27 Oct 2016 04:15:31 +0000 (21:15 -0700)
committerMark Otto <markdotto@gmail.com>
Thu, 27 Oct 2016 04:15:31 +0000 (21:15 -0700)
scss/_modal.scss

index c326d5699eb18f4767896eb6e1e04571badfc8e0..39554581d39c18903eab0fd6d40fcd984fd62143 100644 (file)
@@ -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