From 3f87bf46e463b113760a2e45158a684825bf9d50 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 19 Aug 2013 13:16:32 -0700 Subject: fixes #9855: account for modal overflow on body hiding scrollbar --- less/modals.less | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'less') 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 -- cgit v1.2.3