Commit 2fb31318 authored by Mark Otto's avatar Mark Otto

Merge pull request #13785 from twbs/fat-13609

fixes 13609 - Modal is shifting left just before the hiding animation
parents 9cdbf0e8 fd0a81a5
......@@ -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;
......@@ -36,6 +35,10 @@
}
&.in .modal-dialog { .translate3d(0, 0, 0) }
}
.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
}
// Shell div to position the modal with bottom padding
.modal-dialog {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment