diff --git a/htmgo-site/pages/html-to-go.go b/htmgo-site/pages/html-to-go.go index 644d836..0a2d6f2 100644 --- a/htmgo-site/pages/html-to-go.go +++ b/htmgo-site/pages/html-to-go.go @@ -10,7 +10,7 @@ func HtmlToGoPage(ctx *h.RequestContext) *h.Page { return h.NewPage( base.PageWithNav(ctx, h.Div( - h.Class("flex flex-col h-full items-center justify-center w-full pt-6"), + h.Class("flex flex-col h-screen items-center justify-center w-full pt-6"), h.H3( h.Text("Convert raw html to htmgo code"), h.Class("text-2xl font-bold"), diff --git a/htmgo-site/partials/html-to-go.go b/htmgo-site/partials/html-to-go.go index 3669db8..28d0634 100644 --- a/htmgo-site/partials/html-to-go.go +++ b/htmgo-site/partials/html-to-go.go @@ -17,7 +17,7 @@ func ConvertHtmlToGo(ctx *h.RequestContext) *h.Partial { func HtmlInput() *h.Element { return h.Div( - h.Class("h-[90%] w-1/2 min-w-1/2"), + h.Class("h-full w-1/2 min-w-1/2"), h.TextArea( h.Name("html-input"), h.MaxLength(500*1000), @@ -31,7 +31,7 @@ func HtmlInput() *h.Element { func GoOutput(content string) *h.Element { return h.Div( - h.Class("h-[90%] w-1/2 min-w-1/2"), + h.Class("h-full w-1/2 min-w-1/2"), h.Id("go-output"), h.Div( h.Class("h-[90%] w-full rounded border border-slate-200"),