Skip to content

Commit

Permalink
Merge pull request #355 from USEPA/IN-659.4
Browse files Browse the repository at this point in the history
Fix for footer menu 100% width.
  • Loading branch information
ryanletulle authored Feb 14, 2022
2 parents 6103733 + 132eb7f commit 6de7eff
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{% if page.footer_menu or footer_contact or page.footer %}
<div class="usa-footer__primary-section">
<div class="usa-footer__primary-container grid-row">
{% if page.footer_menu %}
{% if (page.footer_menu) and (footer_contact) %}
<div class="mobile-lg:grid-col-8">
<nav class="usa-footer__nav" aria-label="Footer navigation">
{{ page.footer_menu }}
</nav>
</div>
{% endif %}
{% if footer_contact %}
<div class="mobile-lg:grid-col-4">
<address class="usa-footer__address">
<div class="grid-row grid-gap">
Expand All @@ -29,6 +27,12 @@
</div>
</address>
</div>
{% elseif page.footer_menu and not footer_contact %}
<div class="mobile-lg:grid-col-12">
<nav class="usa-footer__nav" aria-label="Footer navigation">
{{ page.footer_menu }}
</nav>
</div>
{% endif %}
{% if page.footer %}
<div class="grid-row grid-gap">
Expand Down

0 comments on commit 6de7eff

Please sign in to comment.