Skip to content

Commit

Permalink
Always show toggle sidebar button regardless of sidebar scroll position
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Sep 19, 2024
1 parent ee01930 commit 28bf068
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/trestle/shared/_sidebar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
<% end %>
<% end %>
</nav>

<button class="toggle-sidebar" data-action="sidebar#toggle">
<span class="visually-hidden"><%= t("trestle.ui.toggle_sidebar", default: "Toggle sidebar") %></span>
</button>
</div>

<button class="toggle-sidebar" data-action="sidebar#toggle">
<span class="visually-hidden"><%= t("trestle.ui.toggle_sidebar", default: "Toggle sidebar") %></span>
</button>
</aside>

0 comments on commit 28bf068

Please sign in to comment.