mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
avoid top margin on input-append/prepend in .navbar-form
This commit is contained in:
parent
0682780cd8
commit
d9593e217d
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…
x
Reference in New Issue
Block a user