sticky nav

This commit is contained in:
2025-05-25 18:09:26 +02:00
parent e853bb6a86
commit d4e5dea1fc

View File

@@ -23,12 +23,19 @@
.navbar {
background-color: var(--primary-color) !important;
position: sticky;
top: 0;
z-index: 1030;
}
.sidebar {
background-color: white;
min-height: calc(100vh - 56px);
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
position: sticky;
top: 56px; /* Height of the navbar */
height: calc(100vh - 56px);
overflow-y: auto;
}
.sidebar .nav-link {