From 2220714962e5b5cb3bae080e705fda33a71b0a3c Mon Sep 17 00:00:00 2001 From: Yunxiao Xu Date: Fri, 13 Feb 2026 04:02:38 -0800 Subject: [PATCH] feat(ux): Add size limits and improved styling for plot previews in chat bubbles. --- frontend/src/components/chat/MessageBubble.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/chat/MessageBubble.tsx b/frontend/src/components/chat/MessageBubble.tsx index 4bf7c05..37fa3db 100644 --- a/frontend/src/components/chat/MessageBubble.tsx +++ b/frontend/src/components/chat/MessageBubble.tsx @@ -48,20 +48,20 @@ export function MessageBubble({ message }: MessageBubbleProps) { {(message.plots || message.plot_ids) && ((message.plots?.length || 0) > 0 || (message.plot_ids?.length || 0) > 0) && ( -
+
{message.plots?.map((plot, index) => { const src = `data:image/png;base64,${plot}` return (