Skip to content

Commit

Permalink
Show scrollbar on rendered tables in chat (#2884)
Browse files Browse the repository at this point in the history
show scrollbar on rendered tables in chat

Co-authored-by: Timothy Carambat <[email protected]>
  • Loading branch information
shatfield4 and timothycarambat authored Dec 29, 2024
1 parent 4b2bb52 commit bbc0bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bbc0bec

Please sign in to comment.