Skip to content

Commit b19ac98

Browse files
fix: changed class theme in language toggle to use the base active instead of link--secondary when selected (#5765) (#19103)
Co-authored-by: Evan Schweitzer <49884889+Xenolithes@users.noreply.github.com>
1 parent a926da8 commit b19ac98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h4 class="text-mono f5 text-normal color-text-secondary d-md-none">{% data ui.h
7070
{% unless languages[languageVariant.code].wip %}
7171
<a
7272
href="{{ languageVariant.href }}"
73-
class="d-block py-2 no-underline {% if currentPath == languageVariant.href %}active Link--secondary{% else %}Link--primary{% endif %}"
73+
class="d-block py-2 no-underline {% if currentPath == languageVariant.href %}active {% else %}Link--primary{% endif %}"
7474
style="white-space: nowrap"
7575
>
7676
{% if languages[languageVariant.code].nativeName %}

0 commit comments

Comments
 (0)