From f2fe2eb75f81661a5d42e8cc311d359155b385d6 Mon Sep 17 00:00:00 2001 From: Marcus Vorwaller Date: Sat, 28 Feb 2026 18:37:35 -0800 Subject: [PATCH] fix: restore mobile sidebar nav visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The custom navbar-sidebar CSS changed flex-direction to column (stacking panels vertically) but Infima's .navbar-sidebar__items--show-secondary rule still applied transform: translateX(-83vw), sliding the entire column off-screen when on a docs page. Fix: override the translateX to none. We're using display:none/flex via the [inert] attribute to toggle panels — no slide animation needed. --- website/src/css/custom.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index d5dd5f4f..f11d28a8 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -2095,6 +2095,11 @@ a:hover { flex-direction: column !important; } +/* Override Infima's translateX slide animation — we use display:none/flex via [inert] instead */ +.navbar-sidebar__items--show-secondary { + transform: none !important; +} + /* Toggle between primary and secondary menus on docs pages */ .navbar-sidebar__item[inert] { display: none !important;