vendor/assets/stylesheets/bootstrap/_modals.scss in bootstrap-sass-3.0.0.0 vs vendor/assets/stylesheets/bootstrap/_modals.scss in bootstrap-sass-3.0.1.0.rc

- old
+ new

@@ -8,25 +8,12 @@ // .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 - - .navbar-fixed-top, - .navbar-fixed-bottom { - margin-right: 15px - } -// [converter] extracted body& to body.modal-open } -body.modal-open { - margin-right: 15px -} - // Container that the modal scrolls within .modal { display: none; overflow: auto; overflow-y: scroll; @@ -45,10 +32,11 @@ &.in .modal-dialog { @include 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); @@ -128,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 {