app/frameworks/twitter/bootstrap/modals.less in less-rails-bootstrap-3.0.3 vs app/frameworks/twitter/bootstrap/modals.less in less-rails-bootstrap-3.0.4

- old
+ new

@@ -8,18 +8,10 @@ // .modal-content - actual modal w/ bg and corners and shit // 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 .modal { display: none; @@ -40,10 +32,11 @@ &.in .modal-dialog { .translate(0, 0)} } // Shell div to position the modal with bottom padding .modal-dialog { + position: relative; margin-left: auto; margin-right: auto; width: auto; padding: 10px; z-index: (@zindex-modal-background + 10); @@ -123,14 +116,12 @@ margin-left: 0; } } // Scale up the modal -@media screen and (min-width: @screen-tablet) { +@media screen and (min-width: @screen-sm-min) { .modal-dialog { - left: 50%; - right: auto; width: 600px; padding-top: 30px; padding-bottom: 30px; } .modal-content {