From d20c165e670d381d6dbef259e4bb8ff78b6d559d Mon Sep 17 00:00:00 2001 From: reidlab Date: Fri, 7 Mar 2025 07:10:57 -0800 Subject: [PATCH] fix mobile layout --- src/components/Sidebar.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Sidebar.astro b/src/components/Sidebar.astro index 15a86aa..4b5fff3 100644 --- a/src/components/Sidebar.astro +++ b/src/components/Sidebar.astro @@ -27,7 +27,8 @@ import Header from "./Header.astro"; /* mobile */ @media screen and (max-width: 600px) { .sidebar { - position: initial; + /* needed due to background being fixed */ + position: relative; height: auto; } }