Skip to content
TypeScript

fix(web): task durations over an hour no longer wrap in the tasks panel (#13472)

James Villarrubia9b7e7dff451f
diff --git a/apps/web/src/components/chat/ComposerTasksBadge.tsx b/apps/web/src/components/chat/ComposerTasksBadge.tsx
index 704bfc38e4a..008370aa10b 100644
--- a/apps/web/src/components/chat/ComposerTasksBadge.tsx
+++ b/apps/web/src/components/chat/ComposerTasksBadge.tsx
@@ -201,7 +201,7 @@ export const ComposerTasksContent = memo(function ComposerTasksContent({
</ComposerBanner.Content>
<ComposerBanner.Actions>
<span
- className="w-12 text-right text-3xs/4 text-muted-foreground/45 tabular-nums"
+ className="min-w-12 text-right text-3xs/4 whitespace-nowrap text-muted-foreground/45 tabular-nums"
data-composer-task-duration="true"
>
{step.durationMs !== undefined