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,6 +123,7 @@ main {
.sidebar-overlay { .sidebar-overlay {
display: none; display: none;
} }
@media (max-width: 768px) {
body.sidebar-open .sidebar-overlay { body.sidebar-open .sidebar-overlay {
display: block; display: block;
position: fixed; position: fixed;
@@ -133,6 +134,7 @@ body.sidebar-open .sidebar-overlay {
background: rgba(0, 0, 0, 0.3); background: rgba(0, 0, 0, 0.3);
z-index: 999; z-index: 999;
} }
}
@media (max-width: 768px) { @media (max-width: 768px) {
.sidebar { .sidebar {
position: fixed; position: fixed;