parent
b2641662d2
commit
9bcb8bb847
|
@ -11,11 +11,14 @@
|
|||
* themed in menu-local-task.html.twig.
|
||||
*/
|
||||
#}
|
||||
{% set listClasses = '-mt-3 -ml-3 flex' %}
|
||||
|
||||
{% if primary %}
|
||||
<h2 class="visually-hidden">{{ 'Primary tabs'|t }}</h2>
|
||||
<ul class="flex">{{ primary }}</ul>
|
||||
<ul class="{{ listClasses }}">{{ primary }}</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if secondary %}
|
||||
<h2 class="visually-hidden">{{ 'Secondary tabs'|t }}</h2>
|
||||
<ul class="flex">{{ secondary }}</ul>
|
||||
<ul class="{{ listClasses }}">{{ secondary }}</ul>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue