style: align with the ep-corporate-design skill
This commit is contained in:
1 parent
50ef662dd3
commit
ebad54e989
162 files changed
+768
-640
No files matched your search
@@ -13,8 +13,8 @@
|
||||
{# by route name: the items carry the return url, which the matcher would compare as well #}
|
||||
{% set current = child.extras.routes|default([])|filter(r => r.route is defined and r.route == app.request.attributes.get('_route'))|length > 0 %}
|
||||
<a href="{{ child.uri }}"
|
||||
class="{{ html_classes('tab', { 'tab--current': current }) }}"
|
||||
{% if current %}aria-current="page"{% endif %}>{{ child.label|raw }}</a>
|
||||
class="tab"
|
||||
{% if current %}aria-current="page"{% endif %}>{{ child.label }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user