app/assets/stylesheets/twitter/bootstrap/_modals.scss in bootstrap-sass-rails-3.0.0.0.rc2 vs app/assets/stylesheets/twitter/bootstrap/_modals.scss in bootstrap-sass-rails-3.0.0.0
- old
+ new
@@ -10,9 +10,17 @@
// Kill the scroll on the body
.modal-open {
overflow: hidden;
}
+
+// Account for hiding of scrollbar
+body.modal-open,
+.modal-open .navbar-fixed-top,
+.modal-open .navbar-fixed-bottom {
+ margin-right: 15px
+}
+
// Container that the modal scrolls within
.modal {
display: none;
overflow: auto;
overflow-y: scroll;