Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labels in .horizontal-form at small widths closer to the inputs below #12843

Closed
ds125v opened this issue Feb 25, 2014 · 1 comment
Closed

labels in .horizontal-form at small widths closer to the inputs below #12843

ds125v opened this issue Feb 25, 2014 · 1 comment
Labels
Milestone

Comments

@ds125v
Copy link

ds125v commented Feb 25, 2014

If you compare the two example forms in the documentation at these links:

http://getbootstrap.com/css/#forms-example

http://getbootstrap.com/css/#forms-horizontal

At smaller screen widths, when both are stacked vertically, I would have expected them to look roughly the same (ignoring the fact that one has a file input that the other doesn't). They mostly do, but the labels in the .form-horizontal are much closer to the input below them than in the basic example (which I personally think looks better) .

Perhaps these lines, which set the bottom-margin to zero on the labels as well as some other stuff, are slightly too broad and can be tweaked so they don't affect this situation?

https://github.com/twbs/bootstrap/blob/master/less/forms.less#L395-L406

@mdo
Copy link
Member

mdo commented Mar 10, 2014

Nice, good looking out!

@mdo mdo added this to the v3.2.0 milestone Mar 10, 2014
@mdo mdo closed this as completed in 1a5fb4e Mar 10, 2014
@mdo mdo mentioned this issue Mar 10, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
… media query so their narrow viewport display looks just like a normal form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants