Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed May 22, 2024
1 parent 20d9385 commit eb0e9fb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions templates/layout/parts/context_links.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
{% set lists_itemtype = item %}
{% endif %}

{% if links['add'] is defined or links|length > 0 %}
{% set display_divider = (links['add'] is defined or links|length > 0) %}

{% if display_divider %}
{# @TODO border-start is not implemented in current boostrap beta (remove border-left when done) #}
<ul class="nav navbar-nav border-start border-left ps-1 ps-sm-2 flex-row">
{% endif %}
Expand Down Expand Up @@ -104,4 +106,7 @@
{% endif %}

{% endfor %}
</ul>

{% if display_divider %}
</ul>
{% endif %}

0 comments on commit eb0e9fb

Please sign in to comment.