1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 04:11:39 +02:00

Half fix for #9855: Don't fuck with margins for open modal dialog on account of Lion non-scrollbars and inconsistencies elsewhere

This commit is contained in:
Mark Otto
2013-10-07 14:39:11 -05:00
parent 0647049513
commit 352532cd63
3 changed files with 1 additions and 15 deletions

View File

@@ -5731,12 +5731,6 @@ button.close {
overflow: hidden; overflow: hidden;
} }
body.modal-open,
.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom {
margin-right: 15px;
}
.modal { .modal {
position: fixed; position: fixed;
top: 0; top: 0;

File diff suppressed because one or more lines are too long

View File

@@ -10,14 +10,6 @@
// Kill the scroll on the body // Kill the scroll on the body
.modal-open { .modal-open {
overflow: hidden; overflow: hidden;
// Account for hiding of scrollbar
body&,
.navbar-fixed-top,
.navbar-fixed-bottom {
margin-right: 15px
}
} }
// Container that the modal scrolls within // Container that the modal scrolls within