fix(ui): prevent status badge pills from wrapping text

Add whitespace-nowrap and shrink-0 to StatusBadge component so
multi-word statuses like "in progress" stay on a single line.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Forgotten
2026-02-23 20:16:17 -06:00
parent 88855a6535
commit e7ac4d0b04

View File

@@ -5,7 +5,7 @@ export function StatusBadge({ status }: { status: string }) {
return (
<span
className={cn(
"inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium",
"inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium whitespace-nowrap shrink-0",
statusBadge[status] ?? statusBadgeDefault
)}
>