Skip to content

Fix project name badge truncation in chat header#723

Merged
juliusmarminge merged 1 commit intopingdotgg:mainfrom
TheLevic:fix/header-project-name-truncation
Mar 9, 2026
Merged

Fix project name badge truncation in chat header#723
juliusmarminge merged 1 commit intopingdotgg:mainfrom
TheLevic:fix/header-project-name-truncation

Conversation

@TheLevic
Copy link
Copy Markdown
Contributor

@TheLevic TheLevic commented Mar 9, 2026

Summary

  • The project name badge in the chat header was aggressively truncating due to a hard max-w-28 (112px) cap and shrink-0
  • Replaced with min-w-0 shrink so the badge uses available flex space and only truncates when the header is truly out of room

Before

Screenshot 2026-03-09 at 1 54 11 PM

After

Screenshot 2026-03-09 at 1 53 57 PM

Note

Fix project name badge truncation in chat header

Replaces fixed Tailwind classes max-w-28 shrink-0 with min-w-0 shrink on the project name Badge in ChatView.tsx, so the badge shrinks within available space instead of reserving a fixed width.

Macroscope summarized 796293d.

Remove the hard max-w-28 (112px) cap and shrink-0 on the project name
badge so it uses available flex space instead of aggressively truncating.
@TheLevic TheLevic marked this pull request as draft March 9, 2026 18:56
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 9a9abe59-6a1a-4f7d-9fac-84c324a13314

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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 and usage tips.

@github-actions github-actions bot added the vouch:unvouched PR author is not yet trusted in the VOUCHED list. label Mar 9, 2026
@TheLevic TheLevic marked this pull request as ready for review March 9, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants