From 289337b5e44d5887fd22e7d94890aa536e17c90f Mon Sep 17 00:00:00 2001 From: maddalax Date: Sun, 13 Oct 2024 08:27:56 -0500 Subject: [PATCH] missed --- htmgo-site/partials/sidebar.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htmgo-site/partials/sidebar.go b/htmgo-site/partials/sidebar.go index 8a38d63..a2af4b7 100644 --- a/htmgo-site/partials/sidebar.go +++ b/htmgo-site/partials/sidebar.go @@ -57,9 +57,9 @@ func DocSidebar(pages []*dirwalk.Page) *h.Element { grouped := groupByFirstPart(pages) return h.Div( - h.Class("px-3 py-2 pr-6 md:min-h-[(calc(100%))] md:min-h-screen bg-neutral-50 border-r border-r-slate-300"), + h.Class("px-3 py-2 pr-6 min-h-screen bg-neutral-50 border-r border-r-slate-300 overflow-y-auto"), h.Div( - h.H4(h.Text("Contents"), h.Class("mt-4 text-slate-900 font-bold mb-3")), + h.H3(h.Text("Documentation"), h.Class("md:mt-4 text-xl text-slate-900 font-bold mb-3")), h.Div( h.Class("flex flex-col gap-4"), h.List(grouped.Entries(), func(entry datastructures.Entry[string, []*dirwalk.Page], index int) *h.Element {