Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions apps/web/src/components/chat/ThreadErrorBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ export const ThreadErrorBanner = memo(function ThreadErrorBanner({
}) {
if (!error) return null;
return (
<div className="pt-3 mx-auto max-w-3xl">
<div className="mx-auto w-fit max-w-3xl pt-3">
Comment thread
jakeleventhal marked this conversation as resolved.
Resolved
<Alert variant="error">
<CircleAlertIcon />
<Tooltip>
<TooltipTrigger render={<AlertDescription className="line-clamp-3" />}>
{error}
</TooltipTrigger>
<TooltipPopup side="top" className="max-w-96 whitespace-pre-wrap">
{error}
</TooltipPopup>
</Tooltip>
<AlertDescription>
<Tooltip>
<TooltipTrigger render={<div className="line-clamp-3" />}>{error}</TooltipTrigger>
<TooltipPopup side="top" className="max-w-96 whitespace-pre-wrap">
{error}
</TooltipPopup>
</Tooltip>
</AlertDescription>
{onDismiss && (
<AlertAction>
<Button variant="ghost" size="icon-xs" aria-label="Dismiss error" onClick={onDismiss}>
Expand Down
Loading