aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-19 01:04:43 +0000
committerFuwn <[email protected]>2026-05-19 01:04:43 +0000
commita6bd4c53ff33629a18c22f6e8a436bf51ec372af (patch)
tree204ea022d726370a332c7bbc15f107b4db136dcc /README.md
parentfix(hero): swap 100vh for 100dvh on landing hero (diff)
downloaddue.moe-a6bd4c53ff33629a18c22f6e8a436bf51ec372af.tar.xz
due.moe-a6bd4c53ff33629a18c22f6e8a436bf51ec372af.zip
fix(nav): close dropdowns and hamburger on touch / outside click
Two related touch fixes: - Dropdown :hover rule was sticky on touch devices after a tap, keeping the menu visible even when the click toggle set open to false. Gate the hover rule behind @media (hover: hover) so only true pointer devices use the hover path; touch uses the click-driven open class. - Hamburger menu had no outside-click close. Added a window click handler that closes isMenuOpen when the target is outside .header. Clicks on the toggle and on nav items stay inside .header, so opening and item navigation are unaffected.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions