Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: hamburger menu styling on smaller screens (#671)
"Someone" broke the hamburger menu in #646. This fixes the issue and cleans things up by making the CSS a bit more direct: * I use https://tailwindcss.com/docs/hover-focus-and-other-states#styling-based-on-sibling-state to modify the `nav` directly. * I add IDs to the hamburger and X components, and then use https://tailwindcss.com/docs/hover-focus-and-other-states#using-arbitrary-variants to directly target them, in combination with peer. FYI @hashrock since this restores the great work you did in #374.
- Loading branch information