From 8b491cb8dd7e559397624b30e7a6414dae0164ba Mon Sep 17 00:00:00 2001 From: fat Date: Sun, 16 Mar 2014 18:38:47 -0700 Subject: [PATCH] (less) fixes #9855 --- modals.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modals.less b/modals.less index 8438a1616a78..093d051315da 100644 --- a/modals.less +++ b/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