Change look/behavior of combobox in an inline form when viewport is less than 768px #175
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Current Default Look/Behavior
Currently, a bootstrap-combobox for the inline form looks as expected on the on the desktop.
However on screens that are smaller than 768px the inline form bootstrap-combobox does not span the entire width.
Both images are screenshots from http://bootstrap-combobox-test.herokuapp.com.
This may not look so problematic in the example above. However, when you insert the bootstrap-combobox in an inline form with other bootstrap inputs, the apparent difference in consistency becomes a bit more obvious. For example, here is an image of a bootstrap-combobox among a search and month inputs.
When the screen is > 768px:
When the screen is < 768px:
The combobox when the screen is < 768px seems to be out of place.
Proposed Change in Default Look/Behavior
I believe the bootstrap-combobox would be more consistent with the bootstrap framework if it spanned the width of the screen for screen's less than 768px. In Bootstrap 3.3.1's forms.less file, the form-inline class has been implemented to only have an effect when the screen is > 768px:
If the less/css file could just wrap a media query around the form-inline class, the default look/behavior of the bootstrap-combobox would be more consistent. The resulting changes for the two examples above will look as follows: