diff --git a/src/interface/web/app/components/chatHistory/chatHistory.module.css b/src/interface/web/app/components/chatHistory/chatHistory.module.css index 119620d4..cbc197f7 100644 --- a/src/interface/web/app/components/chatHistory/chatHistory.module.css +++ b/src/interface/web/app/components/chatHistory/chatHistory.module.css @@ -17,6 +17,14 @@ div.trainOfThought { margin: 12px; } +/* If there is an inline element holding extremely long content, ensure it wraps */ +div.trainOfThought pre, +div.trainOfThought code, +div.trainOfThought p, +div.trainOfThought span { + overflow-wrap: anywhere; +} + /* Print-specific styles for chat history */ @media print { div.chatHistory {