missed
This commit is contained in:
parent
f39c4d2c58
commit
289337b5e4
1 changed files with 2 additions and 2 deletions
|
|
@ -57,9 +57,9 @@ func DocSidebar(pages []*dirwalk.Page) *h.Element {
|
||||||
grouped := groupByFirstPart(pages)
|
grouped := groupByFirstPart(pages)
|
||||||
|
|
||||||
return h.Div(
|
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.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.Div(
|
||||||
h.Class("flex flex-col gap-4"),
|
h.Class("flex flex-col gap-4"),
|
||||||
h.List(grouped.Entries(), func(entry datastructures.Entry[string, []*dirwalk.Page], index int) *h.Element {
|
h.List(grouped.Entries(), func(entry datastructures.Entry[string, []*dirwalk.Page], index int) *h.Element {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue