From 10ee3daa0cd5b47c1378cd1cf3d9ba0d6a28e579 Mon Sep 17 00:00:00 2001 From: Federico Jaramillo Martinez Date: Fri, 24 Jul 2026 12:06:33 +0200 Subject: [PATCH] fix(ui): keep git view toggle stationary when expand-all appears The right-anchored .toolbar-actions group rendered the view toggle left of the conditional expand/collapse-all button, so the toggle jumped left whenever the button appeared. Render expand/collapse-all first (leftmost) so only the space to its left changes; the toggle and Refresh stay put. --- src/client/src/components/WorkspaceGitPanel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/components/WorkspaceGitPanel.ts b/src/client/src/components/WorkspaceGitPanel.ts index aa93add..73b5c68 100644 --- a/src/client/src/components/WorkspaceGitPanel.ts +++ b/src/client/src/components/WorkspaceGitPanel.ts @@ -64,8 +64,8 @@ export class WorkspaceGitPanel extends LitElement { Git ${context.gitStale ? html`stale` : null}
- ${this.renderViewToggle()} ${viewState.expandablePaths.length > 0 ? this.renderExpandCollapseAll(viewState.expandablePaths) : null} + ${this.renderViewToggle()}