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 64c81d3 commit 112da7b
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 112da7b

Please sign in to comment.