From 911cff30f86ca27cb42009135e72c77440e51966 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 25 Jul 2025 12:51:20 +0530 Subject: [PATCH] feat: add word break for long words --- gui/src/components/StyledMarkdownPreview/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui/src/components/StyledMarkdownPreview/index.tsx b/gui/src/components/StyledMarkdownPreview/index.tsx index aed35e735..5b1249cd8 100644 --- a/gui/src/components/StyledMarkdownPreview/index.tsx +++ b/gui/src/components/StyledMarkdownPreview/index.tsx @@ -113,6 +113,10 @@ const StyledMarkdown = styled.div<{ line-height: 1.5; } + * { + word-break: break-word; + } + > *:last-child { margin-bottom: 0; }