From 3a884fe28def09a1b08a3663d38bdec9efa247ae Mon Sep 17 00:00:00 2001 From: mawkone Date: Sun, 14 Jun 2026 13:29:21 -0700 Subject: [PATCH] fix(codebase): constrain layout to 100vh so left and right panes scroll internally instead of the window --- .../app/[workspace]/project/[projectId]/(home)/code/page.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vibn-frontend/app/[workspace]/project/[projectId]/(home)/code/page.tsx b/vibn-frontend/app/[workspace]/project/[projectId]/(home)/code/page.tsx index 36f50a3..5102822 100644 --- a/vibn-frontend/app/[workspace]/project/[projectId]/(home)/code/page.tsx +++ b/vibn-frontend/app/[workspace]/project/[projectId]/(home)/code/page.tsx @@ -382,6 +382,8 @@ const grid: React.CSSProperties = { display: "grid", gridTemplateColumns: "300px minmax(0, 1fr)", alignItems: "stretch", + flex: 1, + minHeight: 0, }; const leftCol: React.CSSProperties = { @@ -391,6 +393,7 @@ const leftCol: React.CSSProperties = { gap: 24, borderRight: `1px solid ${THEME.borderSoft}`, padding: "20px", + overflowY: "auto", }; const rightCol: React.CSSProperties = {