Commit bab4ca3
Fix dropdown menu hover gap with invisible bridge element
The 8px gap between the trigger and the dropdown caused the mouse to
lose :hover when crossing it. Replace the gap with an invisible
::before pseudo-element that bridges the space, keeping the dropdown
open while the cursor moves to it.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c51c079 commit bab4ca3
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
154 | 163 | | |
155 | 164 | | |
156 | 165 | | |
| |||
0 commit comments