Skip to content

Commit

Permalink
Merge pull request #795 from HeetVekariya/fix/UI
Browse files Browse the repository at this point in the history
fix: API docs text overflow
  • Loading branch information
dartpain authored Dec 8, 2023
2 parents 1a78a6f + 23a1730 commit a62566e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions frontend/src/conversation/ConversationBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ const ConversationBubble = forwardRef<
? 'rgba(125, 84, 209, 0.3)'
: '#EEEEEE'
: isLikeClicked
? 'rgba(125, 84, 209, 0.3)'
: '#ffffff',
? 'rgba(125, 84, 209, 0.3)'
: '#ffffff',
}}
>
<Like
Expand Down Expand Up @@ -283,8 +283,8 @@ const ConversationBubble = forwardRef<
? 'rgba(248, 113, 113, 0.3)'
: '#EEEEEE'
: isDislikeClicked
? 'rgba(248, 113, 113, 0.3)'
: '#ffffff',
? 'rgba(248, 113, 113, 0.3)'
: '#ffffff',
}}
>
<Dislike
Expand Down Expand Up @@ -313,7 +313,9 @@ const ConversationBubble = forwardRef<
</p>

<div className="m-2 rounded-xl border-2 border-gray-200 bg-white p-2">
<p className="text-black">{sources[openSource].text}</p>
<p className="text-break text-black">
{sources[openSource].text}
</p>
</div>
</div>
)}
Expand Down

2 comments on commit a62566e

@vercel
Copy link

@vercel vercel bot commented on a62566e Dec 8, 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 a62566e Dec 8, 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

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

Please sign in to comment.