-
Notifications
You must be signed in to change notification settings - Fork 8.9k
fix(app): mobile prompt input buttons overflow on narrow viewports #11615
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
base: dev
Are you sure you want to change the base?
Conversation
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
5fb8165 to
178bfc2
Compare
|
@athal7 please add screenshots |
|
@adamdotdevin Sorry they got overwritten when I tagged more issues. Added back now |
178bfc2 to
7265fd3
Compare
|
Updated with a simpler approach that works with the current upstream/dev (post-#11675 UI refresh). Changes:
This avoids modifying the Select component or changing the thinking variant from Button to Select dropdown - just CSS/class tweaks. Screenshots have been updated. Typecheck failure is from upstream |
- Use tighter gap spacing on mobile (gap-1 vs gap-2 on desktop) - Add shrink-0 to prevent buttons from compressing - Add min-w-0 to left section to allow proper flex shrinking - Hide text labels on mobile for model and thinking selectors - Remove absolute positioning from right button group Tested at 320px (iPhone SE) and 375px (iPhone) viewports. Fixes anomalyco#11613
7265fd3 to
2ec1ec3
Compare
Summary
Fixes mobile layout for prompt input button bar where buttons overflow or clip on narrow viewports (320-375px).
Changes:
gap-1vsgap-2on desktop)shrink-0to prevent buttons from compressingmin-w-0to left section to allow proper flex shrinkingTested at 320px (iPhone SE) and 375px (iPhone 12/13/14) viewports.
Screenshots
Fixes #11613
Partially addresses: