Skip to content

Commit

Permalink
Add toggle button
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Jan 5, 2025
1 parent 51a27c1 commit d88d8a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BootstrapAdminUi/config/app/twig_hooks/layout/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
'logo' => [
'template' => '@SyliusBootstrapAdminUi/shared/crud/common/sidebar/logo.html.twig',
],
'toggle_button' => [
'template' => '@SyliusBootstrapAdminUi/shared/crud/common/sidebar/toggle_button.html.twig',
],
'menu' => [
'template' => '@SyliusBootstrapAdminUi/shared/crud/common/sidebar/menu.html.twig',
],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebar-menu">
<span class="navbar-toggler-icon"></span>
</button>

0 comments on commit d88d8a4

Please sign in to comment.