Commit 3722c34b authored by Mark Otto's avatar Mark Otto

account for floated inputs in the .navbar-form

parent 2d40b07a
...@@ -2429,6 +2429,14 @@ button.btn.small, input[type="submit"].btn.small { ...@@ -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 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment