Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(ui): prevent long unbreakable strings from overflowing markdown

Naiyuan Qing348b12b532d1
diff --git a/packages/ui/src/components/markdown/Markdown.tsx b/packages/ui/src/components/markdown/Markdown.tsx
index 86eff68288..52e22ddf2c 100644
--- a/packages/ui/src/components/markdown/Markdown.tsx
+++ b/packages/ui/src/components/markdown/Markdown.tsx
@@ -268,7 +268,7 @@ export function Markdown({
const processedContent = React.useMemo(() => preprocessLinks(children), [children])
return (
- <div className={cn('markdown-content', className)}>
+ <div className={cn('markdown-content break-words', className)}>
<ReactMarkdown
remarkPlugins={[remarkGfm]}
rehypePlugins={[rehypeRaw]}