Skip to content
TypeScript

Fix project name badge truncation in chat header

Levi2f5e62602948
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index 5fb47b1a9a5..5d91dd2a1de 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -4179,7 +4179,7 @@ const ChatHeader = memo(function ChatHeader({
{activeThreadTitle}
</h2>
{activeProjectName && (
- <Badge variant="outline" className="max-w-28 shrink-0 truncate">
+ <Badge variant="outline" className="min-w-0 shrink truncate">
{activeProjectName}
</Badge>
)}