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:
parent
fcd08fce8f
commit
a2b9a5e1fe
2 changed files with 6 additions and 2 deletions
4
docs/assets/css/bootstrap.css
vendored
4
docs/assets/css/bootstrap.css
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue