diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-14 09:59:56 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-14 09:59:56 -0800 |
| commit | 7fbb0c3838e188ba3b810156ff6546239e89923e (patch) | |
| tree | 857f8e86a7796cdb0e1c4c4dac5c1d4ea7bd71b2 /frontend/src/App.tsx | |
| parent | c9c3469ce90f5e1cf624a9a97d66fd6db3aba8cb (diff) | |
| download | neko-7fbb0c3838e188ba3b810156ff6546239e89923e.tar.gz neko-7fbb0c3838e188ba3b810156ff6546239e89923e.tar.bz2 neko-7fbb0c3838e188ba3b810156ff6546239e89923e.zip | |
fix: ensure neko toggle button is always accessible (fixing NK-zvt8hi)
Diffstat (limited to 'frontend/src/App.tsx')
| -rw-r--r-- | frontend/src/App.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 732d9ef..74ae89e 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -44,6 +44,15 @@ function Dashboard({ theme, setTheme }: { theme: string; setTheme: (t: string) = className={`dashboard ${sidebarVisible ? 'sidebar-visible' : 'sidebar-hidden'} theme-${theme}`} > <div className="dashboard-content"> + {!sidebarVisible && ( + <button + className="sidebar-toggle fixed-toggle" + onClick={() => setSidebarVisible(true)} + title="Show Sidebar" + > + 🐱 + </button> + )} <aside className={`dashboard-sidebar ${sidebarVisible ? '' : 'hidden'}`}> <FeedList theme={theme} setTheme={setTheme} setSidebarVisible={setSidebarVisible} /> </aside> |
