Fix Nav Highlighting and Styling (#3097)

This commit is contained in:
Beverly Nguyen
2025-11-13 12:38:14 -08:00
committed by GitHub
parent 66379f7966
commit 305db60c07
5 changed files with 18 additions and 16 deletions

View File

@@ -4,7 +4,7 @@
itemscope
itemtype="http://schema.org/ListItem"
>
<a class="{% if has_subnav %}parent-link {% endif %}{% if item['link'] == request.endpoint %} usa-current {% endif %}" href="{{ url_for(item['link']) }}" itemprop="item">
<a class="usa-link {% if has_subnav %}parent-link {% endif %}{% if item['link'] == request.endpoint %}usa-current {% endif %}" href="{{ url_for(item['link']) }}" itemprop="item">
<span itemprop="name">{{item['name']}}</span>
</a>
{% if caller %}