1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #4680: proper margin on buttons in navbar forms

This commit is contained in:
Mark Otto 2012-08-27 10:52:11 -07:00
parent fcd08fce8f
commit a2b9a5e1fe
2 changed files with 6 additions and 2 deletions

View file

@ -4178,7 +4178,9 @@ input[type="submit"].btn.btn-mini {
margin-top: 5px;
}
.navbar .btn-group .btn {
.navbar .btn-group .btn,
.navbar .input-prepend .btn,
.navbar .input-append .btn {
margin-top: 0;
}

View file

@ -92,7 +92,9 @@
.navbar .btn-group {
.navbarVerticalAlign(30px); // Vertically center in navbar
}
.navbar .btn-group .btn {
.navbar .btn-group .btn,
.navbar .input-prepend .btn,
.navbar .input-append .btn {
margin-top: 0; // then undo the margin here so we don't accidentally double it
}