app/assets/stylesheets/twitter/bootstrap/_modals.scss in bootstrap-sass-rails-3.0.2.1 vs app/assets/stylesheets/twitter/bootstrap/_modals.scss in bootstrap-sass-rails-3.0.3.0
- old
+ new
@@ -33,14 +33,12 @@
}
// Shell div to position the modal with bottom padding
.modal-dialog {
position: relative;
- margin-left: auto;
- margin-right: auto;
width: auto;
- padding: 10px;
+ margin: 10px;
z-index: ($zindex-modal-background + 10);
}
// Actual modal
.modal-content {
@@ -120,12 +118,12 @@
// Scale up the modal
@media screen and (min-width: $screen-sm-min) {
.modal-dialog {
width: 600px;
- padding-top: 30px;
- padding-bottom: 30px;
+ margin: 30px auto;
}
.modal-content {
@include box-shadow(0 5px 15px rgba(0,0,0,.5));
}
+
}