@devries-cameron20 / t3code Mirror · read-only / commits / ef943a26ab
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 21:30 UTC

Fix truncated chat error alert layout (#3899)

Jake Leventhal committed Jul 12, 2026 at 05:50 UTC ef943a26abe4dd95fabd32d81ccc4e66f62de2e1
1 file changed +9 -9
apps/web/src/components/chat/ThreadErrorBanner.tsx
+9 -9
@@ -13,17 +13,17 @@ export const ThreadErrorBanner = memo(function ThreadErrorBanner({
13 }) {
14 if (!error) return null;
15 return (
16 - <div className="pt-3 mx-auto max-w-3xl">
16 + <div className="mx-auto w-fit max-w-[min(48rem,calc(100%-2rem))] pt-3">
17 <Alert variant="error">
18 <CircleAlertIcon />
19 - <Tooltip>
20 - <TooltipTrigger render={<AlertDescription className="line-clamp-3" />}>
21 - {error}
22 - </TooltipTrigger>
23 - <TooltipPopup side="top" className="max-w-96 whitespace-pre-wrap">
24 - {error}
25 - </TooltipPopup>
26 - </Tooltip>
19 + <AlertDescription>
20 + <Tooltip>
21 + <TooltipTrigger render={<div className="line-clamp-3" />}>{error}</TooltipTrigger>
22 + <TooltipPopup side="top" className="max-w-96 whitespace-pre-wrap">
23 + {error}
24 + </TooltipPopup>
25 + </Tooltip>
26 + </AlertDescription>
27 {onDismiss && (
28 <AlertAction>
29 <Button variant="ghost" size="icon-xs" aria-label="Dismiss error" onClick={onDismiss}>