mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +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;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar-form .input-append .btn,
|
||||||
|
.navbar-form .input-prepend .btn,
|
||||||
.navbar-form .input-append input,
|
.navbar-form .input-append input,
|
||||||
.navbar-form .input-prepend input {
|
.navbar-form .input-prepend input {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
@ -90,10 +90,11 @@
|
|||||||
.navbarVerticalAlign(28px); // Vertically center in navbar
|
.navbarVerticalAlign(28px); // Vertically center in navbar
|
||||||
}
|
}
|
||||||
.navbar .btn-group .btn {
|
.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 forms
|
||||||
|
// -------------------------
|
||||||
.navbar-form {
|
.navbar-form {
|
||||||
margin-bottom: 0; // remove default bottom margin
|
margin-bottom: 0; // remove default bottom margin
|
||||||
.clearfix();
|
.clearfix();
|
||||||
@ -125,6 +126,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Navbar search
|
// Navbar search
|
||||||
|
// -------------------------
|
||||||
.navbar-search {
|
.navbar-search {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user