mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
account for floated inputs in the .navbar-form
This commit is contained in:
parent
2d40b07afc
commit
3722c34b50
3 changed files with 9 additions and 0 deletions
Binary file not shown.
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
|
@ -2429,6 +2429,14 @@ button.btn.small, input[type="submit"].btn.small {
|
||||||
}
|
}
|
||||||
.navbar-form {
|
.navbar-form {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
*zoom: 1;
|
||||||
|
}
|
||||||
|
.navbar-form:before, .navbar-form:after {
|
||||||
|
display: table;
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
.navbar-form:after {
|
||||||
|
clear: both;
|
||||||
}
|
}
|
||||||
.navbar-form input, .navbar-form select {
|
.navbar-form input, .navbar-form select {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -88,6 +88,7 @@
|
||||||
// Navbar forms
|
// Navbar forms
|
||||||
.navbar-form {
|
.navbar-form {
|
||||||
margin-bottom: 0; // remove default bottom margin
|
margin-bottom: 0; // remove default bottom margin
|
||||||
|
.clearfix();
|
||||||
input,
|
input,
|
||||||
select {
|
select {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Add table
Reference in a new issue