diff --git a/static/webui/index.html b/static/webui/index.html
index 85e10f78..72cb6ebe 100644
--- a/static/webui/index.html
+++ b/static/webui/index.html
@@ -45,14 +45,30 @@
>
diff --git a/static/webui/script.js b/static/webui/script.js
index b272dd0b..6fa3bbee 100644
--- a/static/webui/script.js
+++ b/static/webui/script.js
@@ -76,6 +76,12 @@ single.on("route_load", function (event) {
} else {
$("body").removeClass("logged-in");
}
+
+ $(".nav-link").removeClass("active");
+ const navLink = document.querySelector(".nav-link[href='" + event.route.paths[0] + "']");
+ if (navLink) {
+ navLink.classList.add("active");
+ }
});
window.itemListPromise = new Promise(resolve => {
diff --git a/static/webui/style.css b/static/webui/style.css
index 109802b4..119d4fd2 100644
--- a/static/webui/style.css
+++ b/static/webui/style.css
@@ -1,14 +1,13 @@
@media (min-width: 992px) {
body.logged-in #main-view {
- display: grid;
- grid-template-columns: 1fr 8fr;
- gap: 1.5rem;
+ display: flex;
}
body.logged-in #sidebar {
position: sticky;
top: 5rem;
height: 100px;
+ margin-right: 3rem;
}
body:not(.logged-in) #sidebar {