Skip to content

Commit

Permalink
Collapse fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 8, 2023
1 parent a76abd9 commit d324c32
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@
<a href="{$node.link}" class="stretched-link text-reset list-group-item-action-dropdown-link">
{$node.name}
</a>
<a href="#exCollapsingNavbar{$node.id}" class="icon-collapse list-group-item-collapse text-reset" data-bs-toggle="collapse">
<a href="#catcol_{$node.id}"
class="icon-collapse list-group-item-collapse text-reset"
data-bs-toggle="collapse"
role="button"
data-bs-target="#catcol_{$node.id}"
>
<i class="material-icons d-block">&#xE313;</i>
</a>
</div>
Expand All @@ -44,7 +49,7 @@
</a>
{/if}
{if $node.children}
<div class="collapse" id="exCollapsingNavbar{$node.id}">
<div class="collapse" id="catcol_{$node.id}">
{categories nodes=$node.children depth=$depth+1}
</div>
{/if}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@
<div class="search-filters__header d-flex justify-content-between align-items-center mb-0 h5 position-relative">
<span class="search-filters__title mb-0">{$facet.label}</span>
{if $facet.widgetType != 'slider'}
<a href="#facet_{$_expand_id}" class="icon-collapse stretched-link text-reset d-block" data-bs-toggle="collapse"
<a href="#facet_{$_expand_id}"
class="icon-collapse stretched-link text-reset d-block"
data-bs-target="#facet_{$_expand_id}"
role="button"
data-bs-toggle="collapse"
{if !$_collapse} aria-expanded="true" {/if}>
<span class="material-icons">&#xE313;</span>
</a>
Expand Down

0 comments on commit d324c32

Please sign in to comment.