diff --git a/frontend/src/components/Chat.tsx b/frontend/src/components/Chat.tsx index e4bfa92..24696de 100644 --- a/frontend/src/components/Chat.tsx +++ b/frontend/src/components/Chat.tsx @@ -25,11 +25,11 @@ function MessageBubble({ msg, index, authorAvatar, authorName, onReport, isFaile window.open(`https://duckduckgo.com/?q=${encodeURIComponent(msg.content.slice(0, 400))}`, "_blank", "noopener,noreferrer"); } return ( -
{children};
},
+ table({ children }) {
+ // Wide tables would blow the bubble off-screen on mobile —
+ // scroll them inside their own pane instead.
+ return (
+ {t("settings.noMatch", { q: search.trim() })}
+{t("settings.noMatch", { q: search.trim() })}
+ +