Skip to content

Commit

Permalink
Half fix for twbs#9855: Don't fuck with margins for open modal dialog…
Browse files Browse the repository at this point in the history
… on account of Lion non-scrollbars and inconsistencies elsewhere
  • Loading branch information
mdo committed Oct 7, 2013
1 parent 0647049 commit 352532c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
6 changes: 0 additions & 6 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5731,12 +5731,6 @@ button.close {
overflow: hidden;
}

body.modal-open,
.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom {
margin-right: 15px;
}

.modal {
position: fixed;
top: 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions less/modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
// 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 352532c

Please sign in to comment.