diff --git a/src/ui/lib/responsive.ts b/src/ui/lib/responsive.ts index aa31c416..0b7a70c8 100644 --- a/src/ui/lib/responsive.ts +++ b/src/ui/lib/responsive.ts @@ -55,6 +55,6 @@ export function resolveResponsiveLayout(requestedLayout: LayoutMode, viewportWid return { viewport, layout: "split", - showFilesPane: viewport === "full", + showFilesPane: true, }; } diff --git a/test/app-responsive.test.tsx b/test/app-responsive.test.tsx index a5f80304..b0798ba2 100644 --- a/test/app-responsive.test.tsx +++ b/test/app-responsive.test.tsx @@ -142,10 +142,10 @@ describe("responsive shell", () => { expect(full).toContain("drag divider resize"); expect(full).toContain("│"); - expect(medium).not.toContain("Files"); + expect(medium).toContain("M alpha.ts"); expect(medium).not.toContain("Changeset summary"); expect(medium).toContain("│"); - expect(medium).not.toContain("drag divider resize"); + expect(medium).toContain("drag divider resize"); expect(tight).not.toContain("Files"); expect(tight).not.toContain("Changeset summary");