Commit 459bb8a
Fix main-menu submenu closing before it can be reached (#46)
The dropdown sits 0.25rem below its trigger, and that gap isn't part of
the hovered .nav-item--dropdown, so the cursor loses :hover on the way
down — easy to hit with a touchpad — and the submenu disappears. Bridge
the gap with an invisible ::before on the menu (disabled in the mobile
layout, where the menu is static) so hover is continuous without
changing how the menu looks.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>1 parent 88ec796 commit 459bb8a
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
198 | 210 | | |
199 | 211 | | |
200 | 212 | | |
| |||
292 | 304 | | |
293 | 305 | | |
294 | 306 | | |
| 307 | + | |
| 308 | + | |
295 | 309 | | |
296 | 310 | | |
297 | 311 | | |
| |||
0 commit comments