Skip to content

Commit

Permalink
fix(sections/header): remove duplicated classnames (Shopify#1853)
Browse files Browse the repository at this point in the history
  • Loading branch information
KasperAndersson authored and Thomas Timmers committed Aug 29, 2022
1 parent 91a0d24 commit f15aac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sections/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@
</details>
</header-menu>
{%- else -%}
<a href="{{ link.url }}" class="header__menu-item header__menu-item list-menu__item link link--text focus-inset"{% if link.current %} aria-current="page"{% endif %}>
<a href="{{ link.url }}" class="header__menu-item list-menu__item link link--text focus-inset"{% if link.current %} aria-current="page"{% endif %}>
<span {%- if link.current %} class="header__active-menu-item"{% endif %}>{{ link.title | escape }}</span>
</a>
{%- endif -%}
Expand Down Expand Up @@ -481,7 +481,7 @@
</details>
</header-menu>
{%- else -%}
<a href="{{ link.url }}" class="header__menu-item header__menu-item list-menu__item link link--text focus-inset"{% if link.current %} aria-current="page"{% endif %}>
<a href="{{ link.url }}" class="header__menu-item list-menu__item link link--text focus-inset"{% if link.current %} aria-current="page"{% endif %}>
<span {%- if link.current %} class="header__active-menu-item"{% endif %}>{{ link.title | escape }}</span>
</a>
{%- endif -%}
Expand Down

0 comments on commit f15aac3

Please sign in to comment.