From 2f529e4d575a16e1b5eae22d50767e489829bd91 Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 10 Jul 2026 20:57:15 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20uncollapse=20button=20=E2=98=B0=20appear?= =?UTF-8?q?s=20when=20sidebar=20is=20hidden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When sidebarCollapsed=true, a hamburger button appears at top-left corner to restore the sidebar. CSS fixed positioning outside sidebar so it's always visible even when sidebar is collapsed. --- app/templates/base.html | 5 +++++ static/css/app.css | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/app/templates/base.html b/app/templates/base.html index 3d80b5d..416c81b 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -268,6 +268,11 @@ + + +
diff --git a/static/css/app.css b/static/css/app.css index 1def8e0..08173d6 100644 --- a/static/css/app.css +++ b/static/css/app.css @@ -2499,3 +2499,12 @@ input, select, textarea { font-family: inherit; color: inherit; } .get-started-toolbar { flex-wrap: wrap; justify-content: center; } .gs-pill { font-size: 12px; padding: 6px 12px; } } + +/* ══════════ Uncollapse sidebar button ══════════ */ +.sidebar-uncollapse-btn { + position: fixed; top: 12px; left: 12px; z-index: 1001; + width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; + background: var(--bg-secondary); border: 1px solid var(--border); + border-radius: 8px; color: var(--text-secondary); cursor: pointer; +} +.sidebar-uncollapse-btn:hover { background: var(--bg-hover); color: var(--text); }