aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorJacob <[email protected]>2014-03-16 19:00:12 -0700
committerJacob <[email protected]>2014-03-16 19:00:12 -0700
commitc6ab3fc7d84450232f3024207015743ecdd929a4 (patch)
tree8514ee1b01fc013571fde618857169b42bd2799c /less
parentbdb70fa471965728609d86c001384791fa44398b (diff)
parentdd7cab84f66892ce53f0b7a9d8bf6981033f7ce2 (diff)
downloadbootstrap-c6ab3fc7d84450232f3024207015743ecdd929a4.tar.xz
bootstrap-c6ab3fc7d84450232f3024207015743ecdd929a4.zip
Merge pull request #13086 from twbs/fat-fix-12983
Fat fix 12983
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