mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-12-08 12:19:06 +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 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user