no sticky sidebar for now because of small screens

This commit is contained in:
maddalax 2024-10-10 10:13:57 -05:00
parent e860f715d8
commit c0fabcedd2

View file

@ -15,7 +15,7 @@ func DocsPage(ctx *h.RequestContext) *h.Page {
return h.NewPage(base.RootPage( return h.NewPage(base.RootPage(
ctx, ctx,
h.Div( h.Div(
h.Class("flex flex-col md:flex-row gap-6 justify-center overflow-x-hidden md:overflow-x-visible"), h.Class("flex flex-col md:flex-row gap-6 justify-center overflow-x-hidden"),
h.Aside( h.Aside(
h.Class("md:h-screen md:sticky md:top-0 md:w-42"), // Applied sticky positioning here h.Class("md:h-screen md:sticky md:top-0 md:w-42"), // Applied sticky positioning here
partials.DocSidebar(pages), partials.DocSidebar(pages),