Skip to content

Commit c0e7d24

Browse files
committed
Add invisible bridge to dropdown menu for easier hovering
1 parent cec9008 commit c0e7d24

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

static/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,15 @@ header a:hover:not(.home) {
170170
border-bottom: 2px solid var(--link-text-color);
171171
}
172172

173+
.dropdown-menu::before {
174+
content: "";
175+
position: absolute;
176+
bottom: 100%;
177+
left: 0;
178+
right: 0;
179+
height: 0.75rem;
180+
}
181+
173182
.dropdown-menu {
174183
display: none;
175184
position: absolute;

0 commit comments

Comments
 (0)