Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/riese/offcanvas-fix' into autost…
Browse files Browse the repository at this point in the history
…aging
  • Loading branch information
MartinRiese committed Nov 8, 2024
2 parents c625acb + 09415f4 commit 999be1a
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,17 @@ <h2 class="title position-relative me-4" id="persistent-menu-label">
<i class="fa <%- iconClass %> persistent-menu-image align-self-start flex-shrink-0" aria-hidden="true"></i>
<% } %>
<div class="mx-3 flex-grow-1">
<a class="d-block stretched-link text-reset <%= isActive ? 'fw-bold' : '' %>" href="#"
<a class="d-block d-lg-none stretched-link text-reset <%= isActive ? 'fw-bold' : '' %>" href="#"
data-bs-toggle="offcanvas" data-bs-target="#persistent-menu-container">
<%- displayText %>
</a>
<!--
Duplicate of the <a> tag above with the toggle attributes removed. They are only needed on small screens
and interfere with other modals on large screens.
-->
<a class="d-none d-lg-block stretched-link text-reset <%= isActive ? 'fw-bold' : '' %>" href="#">
<%- displayText %>
</a>
</div>
</div>
<ul></ul>
Expand Down

0 comments on commit 999be1a

Please sign in to comment.