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 radio and checkbox with label text that does not wrap under inputs #196

Open
mhulse opened this issue Nov 16, 2018 · 0 comments
Open

Comments

@mhulse
Copy link
Owner

mhulse commented Nov 16, 2018

.tat_form input[type="checkbox"],
.tat_form input[type="radio"] {
    padding: 0;
    vertical-align: middle;
    position: absolute;
    left: 0;
    top: 0.15em;
}
.tat_form label input[type="checkbox"] + span,
.tat_form label input[type="radio"] + span {
    margin-left: 1.75rem;
}
<label>
    <input type="checkbox" name="workReasons[]" id="wr10" value="10">
    <span>Cannot work because parents/caregivers do not want him/her to work</span>
</label>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant