fix: uncollapse button ☰ appears when sidebar is hidden
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.
This commit is contained in:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user