Skip to content

Commit

Permalink
(less) fixes twbs#9855: account for modal overflow on body hiding scr…
Browse files Browse the repository at this point in the history
…ollbar
  • Loading branch information
mdo committed Aug 19, 2013
1 parent e4080aa commit c62e737
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c62e737

Please sign in to comment.