Auto commit: 2025-12-05T07:57:53.312Z
This commit is contained in:
parent
7fad3334e7
commit
5622459a4e
@ -26,6 +26,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
sidebarToggle.addEventListener('click', function () {
|
||||
sidebar.classList.toggle('collapsed');
|
||||
// Adjust main content margin only if not on mobile
|
||||
if (window.innerWidth > 768) {
|
||||
mainContent.classList.toggle('expanded');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
<!-- Header -->
|
||||
<nav class="navbar navbar-expand-lg surface rounded mb-4">
|
||||
<div class="container-fluid">
|
||||
<button class="navbar-toggler" type="button" id="sidebar-toggle">
|
||||
<button type="button" id="sidebar-toggle">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<h4 class="m-0">Dashboard</h4>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user