diff --git a/website/app/static/css/core.css b/website/app/static/css/core.css index 981d448..fa08ea1 100644 --- a/website/app/static/css/core.css +++ b/website/app/static/css/core.css @@ -1,3 +1,6 @@ +:root { + --sidebar-width: 210px; +} body { background-color: #fbfbfb; @@ -164,6 +167,16 @@ span#status { right: calc(var(--bs-gutter-x) * .5); } +#sidebar-nav { + width: var(--sidebar-width); +} +#sidebar .sidebar-menu-wrapper { + position: fixed; +} +#sidebar.collapsing .sidebar-menu-wrapper { + position: relative !important; +} + /* @media (min-width: 992px) { .side-panel-config { max-width: calc((100% - 200px) / 2 - 1*var(--bs-gutter-x) * .5); diff --git a/website/app/templates/sidebar.html b/website/app/templates/sidebar.html index 86aae91..bb4a5ac 100644 --- a/website/app/templates/sidebar.html +++ b/website/app/templates/sidebar.html @@ -1,30 +1,32 @@
- +