Skip to content

Commit

Permalink
(less) fixes twbs#9855
Browse files Browse the repository at this point in the history
  • Loading branch information
fat committed Mar 17, 2014
1 parent ed3a80d commit 8b491cb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b491cb

Please sign in to comment.