Commit 54939ef0 authored by fat's avatar fat

fixes 13609 - Modal is shifting left just before the hiding animation

parent 8d8524e5
...@@ -15,8 +15,7 @@ ...@@ -15,8 +15,7 @@
// Container that the modal scrolls within // Container that the modal scrolls within
.modal { .modal {
display: none; display: none;
overflow: auto; overflow: hidden;
overflow-y: scroll;
position: fixed; position: fixed;
top: 0; top: 0;
right: 0; right: 0;
...@@ -36,6 +35,10 @@ ...@@ -36,6 +35,10 @@
} }
&.in .modal-dialog { .translate3d(0, 0, 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 // Shell div to position the modal with bottom padding
.modal-dialog { .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