From d5825e1d2fb1703ced2bbe2661f6a4937dd530bf Mon Sep 17 00:00:00 2001 From: Zortos Date: Thu, 3 Sep 2026 20:35:49 +0200 Subject: [PATCH] fix(web): stop clipping the traits chevron on long Codex effort labels (#9433) Co-authored-by: Cursor --- apps/web/src/components/chat/TraitsPicker.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/web/src/components/chat/TraitsPicker.tsx b/apps/web/src/components/chat/TraitsPicker.tsx index 5feca2919684921ea3c688f04a5051c1f433f095..c48b8eb0f6cf5680bb3c50fd4380117db6e45c61 100644 --- a/apps/web/src/components/chat/TraitsPicker.tsx +++ b/apps/web/src/components/chat/TraitsPicker.tsx @@ -627,11 +627,10 @@ export const TraitsPicker = memo(function TraitsPicker({ } > {isCodexStyle ? ( + // The label truncates itself; clipping the wrapper too would cut off + // the chevron, whose negative end margin overhangs the wrapper edge. {fastModeIcon} {triggerLabel} -- 2.54.0