style(react-ui): adjust max-width and padding for conversation starter component#810
Merged
Merged
Conversation
…r component Updated the max-width of the conversation starter to align with the composer box across breakpoints, ensuring proper alignment of pills with the input. Adjusted padding for better spacing consistency.
Cleaned up the conversation starter component's SCSS by removing obsolete comments regarding alignment with the composer box, enhancing code clarity and maintainability.
Base the starter container on the composer's 768px column instead of the 880px thread column. The chips sit above the input, and once both hit max-width they center independently — an 880 base left the row starting 56px outside the input's edge on wide screens. With the composer column the chip row aligns with the input at every desktop width; the narrow- width gutter fix is unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XECS4NLhz6BNd1TUYbWjfu
ankit-thesys
approved these changes
Jul 23, 2026
ankit-thesys
left a comment
Contributor
There was a problem hiding this comment.
Looks good and tested
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the suggestion-prompt (conversation starter) row's padding and alignment across breakpoints.
Problem
Two related geometry issues, measured in the openui-cloud example:
max-width: 880pxwith no horizontal padding, so the chips sat flush against the content edge — 0px gutter — while the composer input below kept its inset.Change
conversationStarter.scssonly:$space-m-lhorizontal gutter the thread and composer already use, withmax-widthcompensated by 2× the gutter so the content width is unchanged when uncapped.components/composer.scss) instead of the thread's 880px — the chips belong to the input, so the row now tracks the input's edges at every desktop width.Test Plan