diff options
| author | fat <[email protected]> | 2014-06-10 19:06:24 -0700 |
|---|---|---|
| committer | fat <[email protected]> | 2014-06-10 19:06:24 -0700 |
| commit | 54939ef0f037b06bf0e6c5ba6ed288c58068f30c (patch) | |
| tree | f6a1f03a36b254b620a9de8d7dfee3c80b1d97db | |
| parent | 8d8524e5946fbc72e15cd206423e5ff1b10d6b2f (diff) | |
| download | bootstrap-54939ef0f037b06bf0e6c5ba6ed288c58068f30c.tar.xz bootstrap-54939ef0f037b06bf0e6c5ba6ed288c58068f30c.zip | |
fixes 13609 - Modal is shifting left just before the hiding animation
| -rw-r--r-- | less/modals.less | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/less/modals.less b/less/modals.less index abf46cce8..d9aa0e2ce 100644 --- a/less/modals.less +++ b/less/modals.less @@ -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: auto; + overflow-y: scroll; +} // Shell div to position the modal with bottom padding .modal-dialog { |
