chore (a11y): larger navmenu touch target

This commit is contained in:
fero 2024-03-12 19:42:35 -07:00
parent 4ff447197a
commit b3f806b22b

View file

@ -282,10 +282,11 @@
aria-label={dropdownOpen ? "Close navigation" : "Open navigation"} aria-label={dropdownOpen ? "Close navigation" : "Open navigation"}
aria-expanded={dropdownOpen} aria-expanded={dropdownOpen}
on:click={toggleDropdown} on:click={toggleDropdown}
class="-mr-4 p-4"
> >
<div <div
style="transition: 180ms; transition-property: opacity transform;" style="transition: 180ms; transition-property: opacity transform;"
class={`absolute right-0 ${dropdownOpen ? "rotate-45 opacity-0" : "opacity-1"}`} class={`absolute ${dropdownOpen ? "rotate-45 opacity-0" : "opacity-1"}`}
> >
<BarsSolid /> <BarsSolid />
</div> </div>