]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes 13609 - Modal is shifting left just before the hiding animation
authorfat <jacobthornton@gmail.com>
Wed, 11 Jun 2014 02:06:24 +0000 (19:06 -0700)
committerfat <jacobthornton@gmail.com>
Wed, 11 Jun 2014 02:06:24 +0000 (19:06 -0700)
less/modals.less

index abf46cce82ff51a2f23043a90e117b1366a5af54..d9aa0e2cedee30a7edf22ba61a2d1ed9032ac6c5 100644 (file)
@@ -15,8 +15,7 @@
 // Container that the modal scrolls within
 .modal {
   display: none;
-  overflow: auto;
-  overflow-y: scroll;
+  overflow: hidden;
   position: fixed;
   top: 0;
   right: 0;
   }
   &.in .modal-dialog { .translate3d(0, 0, 0) }
 }
+.modal-open .modal {
+  overflow: auto;
+  overflow-y: scroll;
+}
 
 // Shell div to position the modal with bottom padding
 .modal-dialog {