chore (a11y): larger navmenu touch target
This commit is contained in:
parent
4ff447197a
commit
b3f806b22b
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue