Fix sidebar css

This commit is contained in:
Angelillo15 2023-10-17 21:48:35 +02:00
parent 91364425ad
commit 7935e9f4a8
1 changed files with 6 additions and 12 deletions

View File

@ -35,7 +35,7 @@ You should have received a copy of the GNU General Public License along with Noo
.nav-bar { .nav-bar {
display: none; display: none;
} }
/* The side navigation menu */
.sidebar { .sidebar {
position: fixed; position: fixed;
margin: 0; margin: 0;
@ -43,10 +43,7 @@ You should have received a copy of the GNU General Public License along with Noo
width: var(--sidebar-size); width: var(--sidebar-size);
background-color: var(--color-tertiary); background-color: var(--color-tertiary);
overflow: auto; overflow: auto;
z-index: 999999; z-index: 9999;
margin-top: 0;
top: 3.5rem;
height: 94vh;
} }
.content-container { .content-container {
@ -140,7 +137,7 @@ div.content {
left: 0; left: 0;
margin-right: var(--sidebar-size); margin-right: var(--sidebar-size);
width: var(--sidebar-size); width: var(--sidebar-size);
height: 100vh; height: calc(100vh - 3.5rem);
} }
.nav-bar { .nav-bar {
@ -184,14 +181,11 @@ div.content {
} }
.topbar { .topbar {
position: fixed; position: sticky;
margin-top: 0 !important;
top: 0; top: 0;
width: 100%; width: 100%;
z-index: 10000; z-index: 100;
height: 3.5rem; height: 3.5rem;
overflow-y: hidden; overflow-y: hidden;
} }
.nook-container {
margin-top: 5rem;
}