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-expanded={dropdownOpen}
on:click={toggleDropdown}
class="-mr-4 p-4"
>
<div
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 />
</div>