corrects background of sidebar when dark-mode on mobile

This commit is contained in:
2025-11-14 23:30:16 +01:00
parent 5bc57ba497
commit 14079b25b7

View File

@@ -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;