fix: center project illustration in import mode picker#3020
Merged
Conversation
Match the Project card illustration height to Workspace and center the chip; move the shared height into --size-import-mode-illustration.
codebanditssss
approved these changes
Jul 23, 2026
codebanditssss
left a comment
Collaborator
There was a problem hiding this comment.
clean, correct, and well-scoped. both import cards now share one illustration height via the new --size-import-mode-illustration token: the project card goes from h-[120px] to 178px with items-center so the web-app · main chip centers in an area matching the workspace card, and the workspace box stays 178px so its dashed layout is unchanged. checked a few things:
- the
h-(--var)shorthand is the established pattern here, not a new style (Tailwind v4, and ConnectMobileModal uses it 16x, ReportProblemDialog 5x, etc.), so it fits the codebase. - complete: both hardcoded
178pxoccurrences are replaced, no stray value left behind. - token sits with the sibling
--size-import-mode-card-min*tokens in tokens.css.
only thing i couldn't verify locally is whether the centered-chip result matches the agent-orchestrator reference we clone, but the before/after screenshots look right. approving.
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.
Summary
web-app · mainchip in the Project import card by giving both cards the same illustration height178pxwith--size-import-mode-illustrationintokens.cssTest plan
Before
After