fix: list items toggle hard to open

the list items toggle did not expand the full width so it was hard to
open on mobile as one would need to always touch on the name
This commit is contained in:
juancwu 2026-02-07 19:07:54 +00:00
commit 2efb5612de

View file

@ -142,7 +142,7 @@ templ AddExpenseForm(space *model.Space, tags []*model.Tag, listsWithItems []mod
<button
type="button"
id={ toggleID }
class="flex items-center gap-1 text-sm font-medium cursor-pointer select-none"
class="flex-1 flex items-center gap-1 text-sm font-medium cursor-pointer select-none"
_={ "on click toggle .hidden on #" + itemsID + " then toggle .rotate-90 on <svg/> in me" }
>
@icon.ChevronRight(icon.Props{Size: 14})