Merge pull request #38 from PR0M3TH3AN/codex/fix-sidebar-gray-shade-issue

Fix overlay display for sidebar
This commit is contained in:
thePR0M3TH3AN
2025-07-10 16:37:02 -04:00
committed by GitHub

View File

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