Skip to content

Commit 1c6cbc6

Browse files
committed
Solve navlink priority issue
1 parent 798a686 commit 1c6cbc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/NavDropdown.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818

1919
/* Links inside the dropdown */
20-
.dropdown-content a {
20+
.dropdown-content > a {
2121
float: none;
2222
color: black;
2323
padding: 0.75em 1em;
@@ -30,7 +30,7 @@
3030
}
3131

3232
/* Add a grey background color to dropdown links on hover */
33-
.dropdown-content a:hover {
33+
.dropdown-content > a:hover {
3434
background-color: #e8e8e8;
3535
}
3636

0 commit comments

Comments
 (0)