From: fat Date: Wed, 11 Jun 2014 02:06:24 +0000 (-0700) Subject: fixes 13609 - Modal is shifting left just before the hiding animation X-Git-Tag: v3.2.0~90^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54939ef0f037b06bf0e6c5ba6ed288c58068f30c;p=thirdparty%2Fbootstrap.git fixes 13609 - Modal is shifting left just before the hiding animation --- diff --git a/less/modals.less b/less/modals.less index abf46cce82..d9aa0e2ced 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 {