The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 11:30 UTC
fix(web): stop clipping the traits chevron on long Codex effort labels (#9433)
Co-authored-by: Cursor <cursoragent@cursor.com>
Zortos committed
Sep 3, 2026 at 20:35 UTC
d5825e1d2fb1703ced2bbe2661f6a4937dd530bf
1 file changed
+3
-4
apps/web/src/components/chat/TraitsPicker.tsx
+3
-4
@@ -627,11 +627,10 @@ export const TraitsPicker = memo(function TraitsPicker({
627
}
628
>
629
{isCodexStyle ? (
630
+ // The label truncates itself; clipping the wrapper too would cut off
631
+ // the chevron, whose negative end margin overhangs the wrapper edge.
632
<span
631
- className={cn(
632
- "flex min-w-0 w-full items-center overflow-hidden",
633
- size === "xs" ? "gap-1" : "gap-1.5",
634
- )}
633
+ className={cn("flex min-w-0 w-full items-center", size === "xs" ? "gap-1" : "gap-1.5")}
634
>
635
{fastModeIcon}
636
<span className="min-w-0 truncate">{triggerLabel}</span>