Skip to content

Commit

Permalink
Fix mutually exclusive checkbox width and positioning (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
bameyrick authored Jun 13, 2019
1 parent 5c215ff commit c220867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/components/field/_field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
}

&__label {
display: block;
margin-bottom: 0.5rem;
}

Expand Down
5 changes: 2 additions & 3 deletions src/components/field/_macro.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
{% set mutuallyExclusive %}
{% if params.mutuallyExclusive %}
{% from "components/checkboxes/_checkbox-macro.njk" import onsCheckbox %}
<br>
<p class="field__item">
<div class="field__label u-fs-r--b" aria-hidden="true">{{ params.mutuallyExclusive.or }}</div>
<p class="field__item u-mt-s">
<span class="field__label u-fs-r--b" aria-hidden="true">{{ params.mutuallyExclusive.or }}</span>
{{
onsCheckbox({
"id": params.mutuallyExclusive.checkbox.id,
Expand Down

0 comments on commit c220867

Please sign in to comment.