app/frameworks/twitter/bootstrap/modals.less in less-rails-bootstrap-3.0.5 vs app/frameworks/twitter/bootstrap/modals.less in less-rails-bootstrap-3.0.6
- 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,11 +118,10 @@
// 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 {
.box-shadow(0 5px 15px rgba(0,0,0,.5));
}