fix css on html to go
This commit is contained in:
parent
bb9fb0b327
commit
07b0c2d3c5
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ func HtmlToGoPage(ctx *h.RequestContext) *h.Page {
|
||||||
return h.NewPage(
|
return h.NewPage(
|
||||||
base.PageWithNav(ctx,
|
base.PageWithNav(ctx,
|
||||||
h.Div(
|
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.H3(
|
||||||
h.Text("Convert raw html to htmgo code"),
|
h.Text("Convert raw html to htmgo code"),
|
||||||
h.Class("text-2xl font-bold"),
|
h.Class("text-2xl font-bold"),
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ func ConvertHtmlToGo(ctx *h.RequestContext) *h.Partial {
|
||||||
|
|
||||||
func HtmlInput() *h.Element {
|
func HtmlInput() *h.Element {
|
||||||
return h.Div(
|
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.TextArea(
|
||||||
h.Name("html-input"),
|
h.Name("html-input"),
|
||||||
h.MaxLength(500*1000),
|
h.MaxLength(500*1000),
|
||||||
|
|
@ -31,7 +31,7 @@ func HtmlInput() *h.Element {
|
||||||
|
|
||||||
func GoOutput(content string) *h.Element {
|
func GoOutput(content string) *h.Element {
|
||||||
return h.Div(
|
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.Id("go-output"),
|
||||||
h.Div(
|
h.Div(
|
||||||
h.Class("h-[90%] w-full rounded border border-slate-200"),
|
h.Class("h-[90%] w-full rounded border border-slate-200"),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue