Fixes #18949: Remove extra margin overrides for buttons in .modal-footer

This commit is contained in:
Mark Otto 2016-02-08 22:34:38 -08:00
parent a40d94000f
commit 4b97596982
1 changed files with 0 additions and 14 deletions

View File

@ -101,20 +101,6 @@
text-align: right; // right align buttons text-align: right; // right align buttons
border-top: 1px solid $modal-footer-border-color; border-top: 1px solid $modal-footer-border-color;
@include clearfix(); // clear it in case folks use .pull-* classes on buttons @include clearfix(); // clear it in case folks use .pull-* classes on buttons
// Properly space out buttons
.btn + .btn {
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
margin-left: 5px;
}
// but override that for button groups
.btn-group .btn + .btn {
margin-left: -1px;
}
// and override it for block buttons as well
.btn-block + .btn-block {
margin-left: 0;
}
} }
// Measure scrollbar width for padding body during modal show/hide // Measure scrollbar width for padding body during modal show/hide