I\'ve got some troubles with bootstrap v3.1.0. I need to get search bar that will fit entire width of the navbar like this (v3.0.3): http://bootply.com/109727 But it feels like
This issue is the width:auto
on .navbar-form .form-control
. You can override this with width: 100%
and it should work...
From the 3.1 Docs...
As a heads up, .navbar-form shares much of its code with .form-inline via mixin. Some form controls, like input groups, may require fixed widths to be show up properly within a navbar.
Bootstrap 3.1
.navbar-form .form-control {
display: inline-block;
width: auto; /*This is the issue*/
vertical-align: middle;
}
Bootstrap 3.0.3
.navbar-form .form-control {
display: inline-block;
}