The open source coding agent.
TypeScript
tweak(ui): max-width on session when the review is closed but the file tree is open
David Hill09e1b98bc6fc
diff --git a/packages/app/src/pages/session.tsx b/packages/app/src/pages/session.tsxindex 6751f4186f7..845ef5a493f 100644--- a/packages/app/src/pages/session.tsx+++ b/packages/app/src/pages/session.tsx@@ -107,7 +107,7 @@ export default function Page() {if (desktopReviewOpen()) return `${layout.session.width()}px`return `calc(100% - ${layout.fileTree.width()}px)`})- const centered = createMemo(() => isDesktop() && !desktopSidePanelOpen())+ const centered = createMemo(() => isDesktop() && !desktopReviewOpen())function normalizeTab(tab: string) {if (!tab.startsWith("file://")) return tab