From 8f9c7ea6c4dc6c8b56c757653dddc2b5a8178be2 Mon Sep 17 00:00:00 2001 From: perf3ct Date: Sun, 24 Aug 2025 18:21:55 +0000 Subject: [PATCH] feat(mkdocs): resolve silly sidebar showing on mobile --- docs/stylesheets/extra.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 80f5390..1728116 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -110,9 +110,11 @@ /* Remove custom hover color - let Material theme handle it */ -/* Sidebar styling */ -.md-sidebar { - width: 15rem; +/* Sidebar styling - only apply fixed width on desktop */ +@media screen and (min-width: 76.25em) { + .md-sidebar { + width: 15rem; + } } .md-sidebar--primary .md-sidebar__scrollwrap {