diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx index 8eefa024..063f4124 100644 --- a/src/renderer/src/App.tsx +++ b/src/renderer/src/App.tsx @@ -721,7 +721,7 @@ function App(): React.JSX.Element { layout so the terminal/editor reclaim the left edge instead of leaving behind a content-width blank strip. */
{titlebarLeftControls}
- +
+ {/* Why: the workspace-view wrapper adds a fixed 42px header + above the sidebar. Without a flex-1/min-h-0 slot here, + the sidebar falls back to its content height, so the + worktree list loses its scroll viewport and the fixed + bottom toolbar (including Add Repo) gets pushed offscreen. */} + +
) : ( diff --git a/src/renderer/src/components/sidebar/index.tsx b/src/renderer/src/components/sidebar/index.tsx index d0779fa0..b65aed7e 100644 --- a/src/renderer/src/components/sidebar/index.tsx +++ b/src/renderer/src/components/sidebar/index.tsx @@ -47,7 +47,7 @@ function Sidebar(): React.JSX.Element {