mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-12-08 20:29:05 +00:00
corrects background of sidebar when dark-mode on mobile
This commit is contained in:
@@ -173,6 +173,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:global(body.dark .nav-wrapper.open) {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background-color: var(--bg);
|
||||||
|
|
||||||
|
nav a {
|
||||||
|
&:hover,
|
||||||
|
&.highlight {
|
||||||
|
color: white !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user