From 8feb717d918a1a227735df4ff81fdf7bdc14deeb Mon Sep 17 00:00:00 2001 From: maddalax Date: Sat, 26 Oct 2024 14:56:51 -0500 Subject: [PATCH] quick mobile fix --- htmgo-site/pages/markdown.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htmgo-site/pages/markdown.go b/htmgo-site/pages/markdown.go index 8f2fcbb..9ade2ce 100644 --- a/htmgo-site/pages/markdown.go +++ b/htmgo-site/pages/markdown.go @@ -25,7 +25,7 @@ func MarkdownContent(ctx *h.RequestContext, path string, id string) *h.Element { h.Id(id), ), h.Div( - h.Class("w-full flex flex-col prose max-w-md md:max-w-xl lg:max-w-4xl prose-code:text-black prose-p:my-1 prose:p-0 prose-li:m-0 prose-ul:m-0 prose-ol:m-0"), + h.Class("w-full flex flex-col prose max-w-sm md:max-w-xl lg:max-w-4xl prose-code:text-black prose-p:my-1 prose:p-0 prose-li:m-0 prose-ul:m-0 prose-ol:m-0"), h.UnsafeRaw(renderer.RenderFile(path, embeddedMd)), ), )