diff --git a/apps/client/src/features/ai-chat/components/chat-error-alert.tsx b/apps/client/src/features/ai-chat/components/chat-error-alert.tsx index e8fd2c5c..08f91787 100644 --- a/apps/client/src/features/ai-chat/components/chat-error-alert.tsx +++ b/apps/client/src/features/ai-chat/components/chat-error-alert.tsx @@ -18,12 +18,23 @@ interface ChatErrorAlertProps extends Omit { export default function ChatErrorAlert({ title, detail, + style, ...alertProps }: ChatErrorAlertProps) { // Mantine's own "light" alert colour, adaptive across light/dark schemes. const accent = "var(--mantine-color-red-light-color)"; return ( - + // flexShrink: 0 keeps the banner fully visible. Mantine's Alert root is + // `overflow: hidden`, so as a flex child of the chat panel it can otherwise + // be compressed below its content height and clip the detail text; the + // scrollable message list absorbs the height pressure instead. +