Fix sidebar overlay on desktop

This commit is contained in:
thePR0M3TH3AN
2025-07-10 16:36:43 -04:00
parent 0cde66ff1a
commit 9cfc8d6acc

View File

@@ -123,15 +123,17 @@ main {
.sidebar-overlay {
display: none;
}
body.sidebar-open .sidebar-overlay {
display: block;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.3);
z-index: 999;
@media (max-width: 768px) {
body.sidebar-open .sidebar-overlay {
display: block;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.3);
z-index: 999;
}
}
@media (max-width: 768px) {
.sidebar {