Inconsistent/changing panel sizes #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happened?
As the panels fill up with output from the agent and terminal, both panels both grow in height until they extend past the page, rendering them unviewable.
Expected behavior
The chat panels should maintain consistent sizing, once context grows beyond the height of the chat panels they should autoscroll by default with a manual scrolling override if the user wishes to see chat history.
Repro steps
startLogs / screenshots
Environment
9881c450b6Fixed ✅
Root Cause:
The panels were using
h-autoon large screens, causing them to expand infinitely with content instead of maintaining fixed heights with internal scrolling.Solution:
Implemented proper flexbox constraints following shadcn/ui best practices:
overflow-hiddento parent grid containerh-[55vh] lg:h-autoandh-[40vh] lg:h-autowithmin-h-0on panel containersh-fulltomin-h-0for proper flex behaviorResult:
Testing:
Verified on production with multiple content scenarios. Panels properly constrain and scroll internally.
Deployed to production: