1
0
Fork 0
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:
Mark Otto 2012-01-30 08:20:37 -08:00
parent 2d40b07afc
commit 3722c34b50
3 changed files with 9 additions and 0 deletions

Binary file not shown.

View file

@ -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;

View file

@ -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;