diff --git a/resources/scripts/assets/css/sidebar.css b/resources/scripts/assets/css/sidebar.css index 9dc424c96..a4e6a202e 100644 --- a/resources/scripts/assets/css/sidebar.css +++ b/resources/scripts/assets/css/sidebar.css @@ -35,7 +35,7 @@ You should have received a copy of the GNU General Public License along with Noo .nav-bar { display: none; } -/* The side navigation menu */ + .sidebar { position: fixed; 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); background-color: var(--color-tertiary); overflow: auto; - z-index: 999999; - margin-top: 0; - top: 3.5rem; - height: 94vh; + z-index: 9999; } .content-container { @@ -140,7 +137,7 @@ div.content { left: 0; margin-right: var(--sidebar-size); width: var(--sidebar-size); - height: 100vh; + height: calc(100vh - 3.5rem); } .nav-bar { @@ -184,14 +181,11 @@ div.content { } .topbar { - position: fixed; + position: sticky; + margin-top: 0 !important; top: 0; width: 100%; - z-index: 10000; + z-index: 100; height: 3.5rem; overflow-y: hidden; } - -.nook-container { - margin-top: 5rem; -} \ No newline at end of file