Skip to content

Commit

Permalink
Remove indents from conditional reveals in radios and checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
owenatgov committed Mar 28, 2024
1 parent 0801b62 commit 024cb2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</div>
{% if item.conditional.html %}
<div class="govuk-checkboxes__conditional {%- if not isChecked %} govuk-checkboxes__conditional--hidden{% endif %}" id="{{ conditionalId }}">
{{ item.conditional.html | safe | trim | indent(6) }}
{{ item.conditional.html | safe | trim }}
</div>
{% endif %}
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</div>
{% if item.conditional.html %}
<div class="govuk-radios__conditional {%- if not isChecked %} govuk-radios__conditional--hidden{% endif %}" id="{{ conditionalId }}">
{{ item.conditional.html | safe | trim | indent(6) }}
{{ item.conditional.html | safe | trim }}
</div>
{% endif %}
{% endif %}
Expand Down

0 comments on commit 024cb2d

Please sign in to comment.