Skip to content

Commit 2274ff9

Browse files
authored
fix(web): Compact chip fits on narrow composers (#27033)
1 parent cfe28f0 commit 2274ff9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/chat/ComposerPrimaryActions.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,9 @@ export const ComposerPrimaryActions = memo(function ComposerPrimaryActions({
371371
}
372372
>
373373
<Minimize2Icon aria-hidden="true" />
374-
{keepFullHistory ? "Keep" : "Compact"}
374+
<span className="@max-[480px]/composer-surface:hidden">
375+
{keepFullHistory ? "Keep" : "Compact"}
376+
</span>
375377
<span className="text-muted-foreground">{compactTokens}</span>
376378
</TooltipTrigger>
377379
<TooltipPopup>

0 commit comments

Comments
 (0)