Skip to content

Commit

Permalink
Merge pull request #525 from Vaibhav91one/bug/text-out-of-screen
Browse files Browse the repository at this point in the history
bug(front): The text seems to go out of screen when the result is too big.
  • Loading branch information
dartpain authored Oct 9, 2023
2 parents c069a18 + 4ca906a commit cae3e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/conversation/ConversationBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const ConversationBubble = forwardRef<
<div className="flex self-start">
<Avatar className="mt-2 text-2xl" avatar="🦖"></Avatar>
<div
className={`ml-2 mr-5 flex flex-col items-center rounded-3xl bg-gray-1000 p-3.5 ${
className={`ml-2 mr-5 flex flex-col items-center rounded-3xl bg-gray-1000 p-3.5 ${
type === 'ERROR'
? ' rounded-lg border border-red-2000 bg-red-1000 p-2 text-red-3000'
: ''
Expand All @@ -84,7 +84,7 @@ const ConversationBubble = forwardRef<
<img src={Alert} alt="alert" className="mr-2 inline" />
)}
<ReactMarkdown
className="whitespace-pre-wrap break-words"
className="max-w-screen-md whitespace-pre-wrap break-words"
components={{
code({ node, inline, className, children, ...props }) {
const match = /language-(\w+)/.exec(className || '');
Expand Down

2 comments on commit cae3e71

@vercel
Copy link

@vercel vercel bot commented on cae3e71 Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs-gpt – ./frontend

docs-gpt-brown.vercel.app
docs-gpt-git-main-arc53.vercel.app
docs-gpt-arc53.vercel.app

@vercel
Copy link

@vercel vercel bot commented on cae3e71 Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextra-docsgpt – ./docs

docs.docsgpt.co.uk
nextra-docsgpt-arc53.vercel.app
nextra-docsgpt-git-main-arc53.vercel.app
nextra-docsgpt.vercel.app

Please sign in to comment.