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

.form-horizontal .form-control-static padding-bottom #12801

Closed
ghost opened this issue Feb 20, 2014 · 3 comments
Closed

.form-horizontal .form-control-static padding-bottom #12801

ghost opened this issue Feb 20, 2014 · 3 comments
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Feb 20, 2014

Perhaps padding-bottom: 7px should be added to .form-horizontal .form-control-static so that it is the same height as the input it replaces (34px).

@cvrebert cvrebert added the css label Feb 20, 2014
@cvrebert cvrebert added this to the v3.2.0 milestone Feb 20, 2014
@cvrebert
Copy link
Collaborator

(Within a horizontal form:)

Element height padding-top padding-bottom each top/bottom border total vertical
input.form-control 20px 6px 6px 1px 34px
p.form-control-static 20px 7px 0px 0px 27px

@ghost
Copy link
Author

ghost commented Feb 21, 2014

bootstrap

The top and bottom borders are 0px (as there are none).

@cvrebert
Copy link
Collaborator

@MichaelRushton Derp. Didn't refresh the page after playing around with the spacing and scrutinizing the alignment. Corrected the table values now.

@mdo mdo mentioned this issue Feb 22, 2014
@mdo mdo closed this as completed in 7b60470 Feb 22, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
…tatic to match height of standard form controls
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

1 participant