fix(web): stop clipping the traits chevron on long Codex effort labels (#9433)
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
126afb56fc
commit
d5825e1d2f
1 file changed
+3
-4
@@ -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.
|
||||
<span
|
||||
className={cn(
|
||||
"flex min-w-0 w-full items-center overflow-hidden",
|
||||
size === "xs" ? "gap-1" : "gap-1.5",
|
||||
)}
|
||||
className={cn("flex min-w-0 w-full items-center", size === "xs" ? "gap-1" : "gap-1.5")}
|
||||
>
|
||||
{fastModeIcon}
|
||||
<span className="min-w-0 truncate">{triggerLabel}</span>
|
||||
|
||||
Reference in new issue
Block a user