aboutsummaryrefslogtreecommitdiff
path: root/less/modals.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-19 13:16:32 -0700
committerMark Otto <[email protected]>2013-08-19 13:16:32 -0700
commit3f87bf46e463b113760a2e45158a684825bf9d50 (patch)
treef022ebcb08cfbd97c0939f030735ea3918ec2767 /less/modals.less
parentc15b259f43945fd9cf0d66f04504665ae9298f1a (diff)
downloadbootstrap-3f87bf46e463b113760a2e45158a684825bf9d50.tar.xz
bootstrap-3f87bf46e463b113760a2e45158a684825bf9d50.zip
fixes #9855: account for modal overflow on body hiding scrollbar
Diffstat (limited to 'less/modals.less')
-rw-r--r--less/modals.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/less/modals.less b/less/modals.less
index b43ecfd97..7bc6c314f 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -10,6 +10,14 @@
// Kill the scroll on the body
.modal-open {
overflow: hidden;
+
+
+ // Account for hiding of scrollbar
+ body&,
+ .navbar-fixed-top,
+ .navbar-fixed-bottom {
+ margin-right: 15px
+ }
}
// Container that the modal scrolls within