Skip to content

Commit

Permalink
OEL-1552: Moving the empty condition outside the wrapper div.
Browse files Browse the repository at this point in the history
  • Loading branch information
escuriola committed Jul 15, 2022
1 parent cff46d9 commit 8d054dd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#}
{% set _content %}
{{ content.oe_summary }}
<div class="mt-2-5 mb-2">
{% if social_links is not empty %}
{% if social_links is not empty %}
<div class="mt-2-5 mb-2">
{% for _link in social_links %}
<div class="mb-3 mb-md-0 d-block d-md-inline-block me-md-4-5">
{{ pattern('link', _link|merge(
Expand All @@ -17,8 +17,8 @@
) ) }}
</div>
{% endfor %}
{% endif %}
</div>
</div>
{% endif %}
{% endset %}
<div{{ attributes }}>
{{ pattern('content_banner', {
Expand Down

0 comments on commit 8d054dd

Please sign in to comment.