@devries-cameron20 / t3code-1 / commits / e0b3cfe666
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): image and file chips underline their name on hover again (#26252)

oliver committed Oct 27, 2026 at 19:48 UTC e0b3cfe666b4f902b290b585081dbc9168152aa2
1 file changed +6 -2
apps/web/src/components/contextChipParts.tsx
+6 -2
@@ -167,7 +167,9 @@ export function ImageChipButton({
167 <ImageIcon />
168 )}
169 <ContextChipLabel className="flex items-baseline gap-[0.33em]">
170 - <span className="max-w-72 truncate">{middleTruncateAttachmentName(name)}</span>
170 + <span className="min-w-0 max-w-72 overflow-x-clip text-ellipsis whitespace-nowrap">
171 + {middleTruncateAttachmentName(name)}
172 + </span>
173 <span className="shrink-0 text-3xs text-current">{size}</span>
174 {suffix ? <span className="text-3xs text-current">{suffix}</span> : null}
175 </ContextChipLabel>
@@ -314,7 +316,9 @@ function FileChipContent(props: {
316 <PierreEntryIcon pathValue={props.name} kind="file" theme={props.theme} />
317 )}
318 <ContextChipLabel className="flex items-baseline gap-[0.33em]">
317 - <span className="max-w-72 truncate">{middleTruncateAttachmentName(props.name)}</span>
319 + <span className="min-w-0 max-w-72 overflow-x-clip text-ellipsis whitespace-nowrap">
320 + {middleTruncateAttachmentName(props.name)}
321 + </span>
322 <span className="shrink-0 text-3xs text-current">{props.size}</span>
323 {props.suffix ? <span className="text-3xs text-current">{props.suffix}</span> : null}
324 </ContextChipLabel>