authorgravatar for zortosdev@proton.meZortos <zortosdev@proton.me> 2026-09-03 20:35:49+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-03 11:35:49-07:00
logd5825e1d2fb1703ced2bbe2661f6a4937dd530bf
tree38585ba5b5b91c715f497a06a44ab7a4188b1588
parent126afb56fca56c663f4f40acd46f123ab27eee2b
signature Signed by PGP key B5690EEEBB952194

fix(web): stop clipping the traits chevron on long Codex effort labels (#9433)

Co-authored-by: Cursor <cursoragent@cursor.com>

1 files changed, 3 insertions(+), 4 deletions(-)

apps/web/src/components/chat/TraitsPicker.tsx+3-4
......@@ -627,11 +627,10 @@ export const TraitsPicker = memo(function TraitsPicker({
627627 }
628628 >
629629 {isCodexStyle ? (
630 // The label truncates itself; clipping the wrapper too would cut off
631 // the chevron, whose negative end margin overhangs the wrapper edge.
630632 <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")}
635634 >
636635 {fastModeIcon}
637636 <span className="min-w-0 truncate">{triggerLabel}</span>