sticky nav
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user