Skip to content

Commit

Permalink
Merge pull request #8028 from cfpb/fix/expandable-link-spacing
Browse files Browse the repository at this point in the history
Wrap expandable links in paragraph tag
  • Loading branch information
chosak authored Nov 28, 2023
2 parents 8c87fbd + dadf8ba commit 05744a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cfgov/v1/jinja2/v1/includes/organisms/expandable.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
{% for block in value.content %}
{% if 'paragraph' in block.block_type %}
{{ block.value | safe }}
{% elif block.block_type == 'links' %}
<p>
{{ render_stream_child(block) }}
</p>
{% else %}
{{ render_stream_child(block) }}
{% endif %}
Expand Down

0 comments on commit 05744a1

Please sign in to comment.