aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorfat <[email protected]>2014-03-16 18:38:47 -0700
committerfat <[email protected]>2014-03-16 18:38:47 -0700
commit615dcb5ca068b1290cfd74d0f3b30272328f60fa (patch)
treec4bbfb72dea42ee9931aa5fa45f53cff6ff5157f /less
parentbdb70fa471965728609d86c001384791fa44398b (diff)
downloadbootstrap-615dcb5ca068b1290cfd74d0f3b30272328f60fa.tar.xz
bootstrap-615dcb5ca068b1290cfd74d0f3b30272328f60fa.zip
fixes #9855
Diffstat (limited to 'less')
-rw-r--r--less/modals.less9
1 files changed, 9 insertions, 0 deletions
diff --git a/less/modals.less b/less/modals.less
index 8438a1616..093d05131 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -118,6 +118,15 @@
}
}
+// Measure scrollbar width for padding body during modal show/hide
+.modal-scrollbar-measure {
+ position: absolute;
+ top: -9999px;
+ width: 50px;
+ height: 50px;
+ overflow: scroll;
+}
+
// Scale up the modal
@media (min-width: @screen-sm-min) {
// Automatically set modal's width for larger viewports