mirror of
https://git.suyu.dev/suyu/website.git
synced 2025-12-26 17:24:39 +01:00
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-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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue