mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
avoid top margin on input-append/prepend in .navbar-form
This commit is contained in:
parent
0682780cd8
commit
d9593e217d
2 changed files with 5 additions and 1 deletions
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
|
@ -4197,6 +4197,8 @@ input[type="submit"].btn.btn-mini {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.navbar-form .input-append .btn,
|
||||
.navbar-form .input-prepend .btn,
|
||||
.navbar-form .input-append input,
|
||||
.navbar-form .input-prepend input {
|
||||
margin-top: 0;
|
||||
|
|
|
@ -90,10 +90,11 @@
|
|||
.navbarVerticalAlign(28px); // Vertically center in navbar
|
||||
}
|
||||
.navbar .btn-group .btn {
|
||||
margin: 0; // then undo the margin here so we don't accidentally double it
|
||||
margin-top: 0; // then undo the margin here so we don't accidentally double it
|
||||
}
|
||||
|
||||
// Navbar forms
|
||||
// -------------------------
|
||||
.navbar-form {
|
||||
margin-bottom: 0; // remove default bottom margin
|
||||
.clearfix();
|
||||
|
@ -125,6 +126,7 @@
|
|||
}
|
||||
|
||||
// Navbar search
|
||||
// -------------------------
|
||||
.navbar-search {
|
||||
position: relative;
|
||||
float: left;
|
||||
|
|
Loading…
Add table
Reference in a new issue