fixes for html symbols

This commit is contained in:
maddalax 2024-09-28 21:02:57 -05:00
parent e0aaf9e603
commit bddb528a2d
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ func CompleteAllIcon(list []*ent.Task) *h.Element {
return h.Div( return h.Div(
h.ClassX("absolute top-1 left-5 p-2 rotate-90 text-3xl cursor-pointer", map[string]bool{ h.ClassX("absolute top-1 left-5 p-2 rotate-90 text-3xl cursor-pointer", map[string]bool{
"text-slate-400": notCompletedCount > 0, "text-slate-400": notCompletedCount > 0,
}), h.Text("›"), }), h.UnsafeRaw("›"),
h.PostPartialWithQs(CompleteAll, h.NewQs("complete", h.Ternary(notCompletedCount > 0, "true", "false"))), h.PostPartialWithQs(CompleteAll, h.NewQs("complete", h.Ternary(notCompletedCount > 0, "true", "false"))),
) )
} }

View file

@ -148,7 +148,7 @@ func MobileNav(ctx *h.RequestContext, expanded bool) *h.Element {
), ),
h.Class("text-2xl"), h.Class("text-2xl"),
h.Text("☰"), h.UnsafeRaw("☰"),
), ),
), ),
), ),