patch scrollbars - with regress

This commit is contained in:
timothycarambat 2025-01-09 13:32:54 -08:00
parent be886f7d61
commit 865f7eea29
2 changed files with 2 additions and 2 deletions
frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory
HistoricalMessage
PromptReply

View file

@ -96,7 +96,7 @@ const HistoricalMessage = ({
saveChanges={saveEditedMessage}
/>
) : (
<div className="overflow-x-scroll break-words">
<div className="break-words">
<span
className="flex flex-col gap-y-1"
dangerouslySetInnerHTML={{

View file

@ -62,7 +62,7 @@ const PromptReply = ({
<div className="flex gap-x-5">
<WorkspaceProfileImage workspace={workspace} />
<span
className="overflow-x-scroll break-words"
className="break-words"
dangerouslySetInnerHTML={{ __html: renderMarkdown(reply) }}
/>
</div>