Fix project name badge truncation in chat header#723
Fix project name badge truncation in chat header#723juliusmarminge merged 1 commit intopingdotgg:mainfrom
Conversation
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.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). 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. Comment |
Summary
max-w-28(112px) cap andshrink-0min-w-0 shrinkso the badge uses available flex space and only truncates when the header is truly out of roomBefore
After
Note
Fix project name badge truncation in chat header
Replaces fixed Tailwind classes
max-w-28 shrink-0withmin-w-0 shrinkon the project nameBadgein ChatView.tsx, so the badge shrinks within available space instead of reserving a fixed width.Macroscope summarized 796293d.