Skip to content

Keep long outcome names inside their chip in project setup - #853

Open
InfinityBowman wants to merge 1 commit into
mainfrom
fix/outcome-chip-wrap
Open

InfinityBowman wants to merge 1 commit into
mainfrom
fix/outcome-chip-wrap

Conversation

@InfinityBowman

Copy link
Copy Markdown
Owner

The outcome chips in the project setup card were locked to a fixed h-6 with items-center, so an outcome name long enough to wrap in the narrow setup column rendered its second line outside the rounded border.

  • Chip: h-6 to py-1 with max-w-full items-start, so it grows with wrapped text (a single-line chip is still 24px tall)
  • Outcome name wrapped in a min-w-0 break-words span so it wraps inside the border
  • Remove button gets shrink-0 and, via items-start, sits on the first line rather than the vertical middle of a two-line chip
  • Container switched to items-start so chips of differing heights and the input align at the top

https://claude.ai/code/session_01H77BMkZ9GhK8D98TG4cpTg

The outcome chips were locked to a fixed 24px height with vertically
centred content, so a name that wrapped to a second line rendered
outside the rounded border. They now size to their content and align
the remove button with the first line.

Claude-Session: https://claude.ai/code/session_01H77BMkZ9GhK8D98TG4cpTg
@coderabbitai

coderabbitai Bot commented Sep 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 6899955c-3829-4fa6-b40e-4eee66f53dcf

📥 Commits

Reviewing files that changed from the base of the PR and between dc1117c and 8092862.

📒 Files selected for processing (1)
  • packages/web/src/components/project/setup/ProjectSetupCard.tsx

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant