Show scrollbar on rendered tables in chat ()

show scrollbar on rendered tables in chat

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
Sean Hatfield 2024-12-29 09:55:43 +08:00 committed by GitHub
parent 4b2bb529c9
commit bbc0bec524
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 no-scroll">
<div className="overflow-x-scroll break-words show-scrollbar">
<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 no-scroll`}
className="overflow-x-scroll break-words show-scrollbar"
dangerouslySetInnerHTML={{ __html: renderMarkdown(reply) }}
/>
</div>