Skip to content

Commit

Permalink
enable button groups in modal-footer by removing 5px added margin bet…
Browse files Browse the repository at this point in the history
…ween .btn
  • Loading branch information
mdo committed Mar 12, 2012
1 parent e5a284d commit ac7f571
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Binary file modified docs/assets/bootstrap.zip
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/assets/css/bootstrap.css
Expand Up @@ -3323,6 +3323,9 @@ input[type="submit"].btn.btn-small {
margin-left: 5px;
margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
margin-left: -1px;
}
.tooltip {
position: absolute;
z-index: 1020;
Expand Down
4 changes: 4 additions & 0 deletions less/modals.less
Expand Up @@ -83,4 +83,8 @@
margin-left: 5px;
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
}
// but override that for button groups
.btn-group .btn + .btn {
margin-left: -1px;
}
}

0 comments on commit ac7f571

Please sign in to comment.