Skip to content

Fix width inconsistency in TorchAgent chat interface #6812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wdvr
Copy link
Contributor

@wdvr wdvr commented Jun 21, 2025

Summary

  • Add consistent width constraints to TorchAgentPageContainer
  • Set explicit width calculations for main content box
  • Prevent layout shift when switching between WelcomeSection and QueryInputSection
  • Ensure consistent width regardless of chat state

Test plan

  • Test width stays consistent when clicking RUN
  • Run yarn test - all pass

🤖 Generated with Claude Code

- Add consistent width constraints to TorchAgentPageContainer
- Set explicit width calculations for main content box
- Prevent layout shift when switching between WelcomeSection and QueryInputSection
- Ensure consistent width regardless of chat state

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Copy link

vercel bot commented Jun 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview Jun 21, 2025 7:39am

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 21, 2025
@wdvr wdvr requested a review from izaitsevfb June 21, 2025 07:44
@wdvr wdvr marked this pull request as draft June 24, 2025 01:00
@wdvr wdvr removed the request for review from izaitsevfb June 24, 2025 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants