move menu btton to bottom and hide whwn expanxed

This commit is contained in:
2025-12-09 02:09:23 +05:00
parent 2a7c97cc0b
commit 8ade34f91b
2 changed files with 10 additions and 7 deletions

2
app.js
View File

@@ -1972,11 +1972,13 @@ document.addEventListener('DOMContentLoaded', () => {
function toggleSidebar() {
toolbar.classList.toggle('open');
overlay.classList.toggle('show');
sidebarToggle.classList.toggle('hidden');
}
function closeSidebar() {
toolbar.classList.remove('open');
overlay.classList.remove('show');
sidebarToggle.classList.remove('hidden');
}
// Toggle sidebar when button is clicked