Skip to content

Commit

Permalink
fix: changed class theme in language toggle to use the base active in…
Browse files Browse the repository at this point in the history
…stead of link--secondary when selected (#5765) (#19103)

Co-authored-by: Evan Schweitzer <[email protected]>
  • Loading branch information
Octomerger and Xenolithes authored May 1, 2021
1 parent a926da8 commit b19ac98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h4 class="text-mono f5 text-normal color-text-secondary d-md-none">{% data ui.h
{% unless languages[languageVariant.code].wip %}
<a
href="{{ languageVariant.href }}"
class="d-block py-2 no-underline {% if currentPath == languageVariant.href %}active Link--secondary{% else %}Link--primary{% endif %}"
class="d-block py-2 no-underline {% if currentPath == languageVariant.href %}active {% else %}Link--primary{% endif %}"
style="white-space: nowrap"
>
{% if languages[languageVariant.code].nativeName %}
Expand Down

0 comments on commit b19ac98

Please sign in to comment.