| ... | @@ -627,11 +627,10 @@ export const TraitsPicker = memo(function TraitsPicker({ | ... | @@ -627,11 +627,10 @@ export const TraitsPicker = memo(function TraitsPicker({ |
| 627 | } | 627 | } |
| 628 | > | 628 | > |
| 629 | {isCodexStyle ? ( | 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. |
| 630 | <span | 632 | <span |
| 631 | className={cn( | 633 | className={cn("flex min-w-0 w-full items-center", size === "xs" ? "gap-1" : "gap-1.5")} |
| 632 | "flex min-w-0 w-full items-center overflow-hidden", | | |
| 633 | size === "xs" ? "gap-1" : "gap-1.5", | | |
| 634 | )} | | |
| 635 | > | 634 | > |
| 636 | {fastModeIcon} | 635 | {fastModeIcon} |
| 637 | <span className="min-w-0 truncate">{triggerLabel}</span> | 636 | <span className="min-w-0 truncate">{triggerLabel}</span> |