Skip to content

Commit

Permalink
IBX-8306: Fixed placement of bookmark and trash icon in menu navbar (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bozatko authored Feb 19, 2025
1 parent f31eea8 commit a213443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% block root %}
{% set extraClass = 'ibexa-main-menu__navbar--collapsed' %}
{% set current_item = item %}
{% set first_bottom_item = current_item.children|find(item => item.extras.bottom_item is defined and item.extras.bottom_item) %}

<div class="ibexa-main-menu__navbar ibexa-main-menu__navbar--first-level {{ extraClass }}">
<ul class="ibexa-adaptive-items ibexa-main-menu__items-list nav">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

{% import 'knp_menu.html.twig' as knp_menu %}

{%- if item.extras.separate is defined and item.extras.separate -%}
{%- if ((item.extras.separate is defined and item.extras.separate) or (first_bottom_item is defined and first_bottom_item.name == item.name)) -%}
<li class="ibexa-main-menu__item ibexa-adaptive-items__item ibexa-adaptive-items__item--selector ibexa-main-menu__item--more ibexa-context-menu__item--hidden">
<button class="ibexa-main-menu__item-action">
<div class="ibexa-main-menu__item-icon-column">
Expand Down

0 comments on commit a213443

Please sign in to comment.