Skip to content

Commit 29c6c58

Browse files
authored
style(nav): fix X icon visibility issue (#1092)
1 parent 6ca6764 commit 29c6c58

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/components/Nav.module.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@
1515

1616
.icon svg {
1717
height: 16px;
18-
fill: white;
1918
transition: 0.3s all;
2019
margin-top: 6px;
2120
}
2221

22+
:global(.dark) .icon svg {
23+
fill: white;
24+
}
25+
2326
.icon svg:hover {
2427
opacity: 0.5;
2528
}
@@ -153,6 +156,10 @@ a.legacyLink {
153156
}
154157

155158
@media (min-width: 1040px) {
159+
.icon svg {
160+
fill: white;
161+
}
162+
156163
.mobileOnly {
157164
display: none;
158165
}

0 commit comments

Comments
 (0)