From d7c38a9326bdd4fac25c929abd9eb797f246b252 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Thu, 10 Jul 2025 13:04:41 -0400 Subject: [PATCH] Fix sidebar navigation rendering --- assets/theme.css | 1 + templates/partials/sidebar.njk | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/assets/theme.css b/assets/theme.css index 8814c5f..c787122 100644 --- a/assets/theme.css +++ b/assets/theme.css @@ -60,6 +60,7 @@ body { padding: 1rem; } .sidebar ul { list-style: none; padding: 0; } +.sidebar ul ul { padding-left: 1rem; } .sidebar a { text-decoration: none; color: var(--text-color); } main { flex: 1; diff --git a/templates/partials/sidebar.njk b/templates/partials/sidebar.njk index e22cf10..fc11b48 100644 --- a/templates/partials/sidebar.njk +++ b/templates/partials/sidebar.njk @@ -1,9 +1,18 @@ +{% macro renderNav(items) %} +