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

Add illustration to radio and checkbox tiles #296

Merged
merged 19 commits into from
Feb 16, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
apply styles to checkbox
jmdembe committed Feb 16, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 8ece38a73ddd80e716524400355fac4e39488c36
16 changes: 8 additions & 8 deletions docs/_components/form-fields.md
Original file line number Diff line number Diff line change
@@ -270,14 +270,14 @@ Three styles of checkboxes are provided as well.
</li>
<li>
<input id="abc123" class="usa-checkbox__input usa-checkbox__input--tile" type="checkbox" name="abc123">
<label for="abc123" class="usa-radio__label">
<div class="img-container">
<img src = "{{ site.baseurl}}/assets/img/fingerprint-icon.svg" class="label-illustration">
<div>
<span>Option - Illustration</span>
<span class="usa-radio__label-description">Support text</span>
</div>
</div>
<label for="abc123" class="usa-checkbox__label">
<div class="container">
<img class="container__image" src="{{ site.baseurl}}/assets/img/fingerprint-icon.svg">
<div class="container__text">
<span class="grid-col-fill">Option - Illustration</span>
<span class="usa-checkbox__label-description">Support text</span>
</div>
</div>
</label>
</li>
<li>