From 9cfc8d6acc63429061019f9073ae568b96365ff3 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Thu, 10 Jul 2025 16:36:43 -0400 Subject: [PATCH] Fix sidebar overlay on desktop --- assets/theme.css | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/assets/theme.css b/assets/theme.css index 2d6da37..347f19f 100644 --- a/assets/theme.css +++ b/assets/theme.css @@ -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 {