Skip to content

Commit

Permalink
Merge pull request #1123 from ManishMadan2882/main
Browse files Browse the repository at this point in the history
  • Loading branch information
dartpain authored Sep 13, 2024
2 parents e77f6c9 + 226adfd commit 5112801
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
21 changes: 4 additions & 17 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"dependencies": {
"@reduxjs/toolkit": "^1.9.2",
"@vercel/analytics": "^0.1.10",
"chart.js": "^4.4.4",
"i18next": "^23.14.0",
"i18next-browser-languagedetector": "^8.0.0",
"prop-types": "^15.8.1",
Expand Down
11 changes: 6 additions & 5 deletions frontend/src/conversation/ConversationBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ const ConversationBubble = forwardRef<
let bubble;
if (type === 'QUESTION') {
bubble = (
<div ref={ref} className={`flex flex-row-reverse self-end ${className}`}>
<div
ref={ref}
className={`flex flex-row-reverse self-end flex-wrap ${className}`}
>
<Avatar className="mt-2 text-2xl" avatar="🧑‍💻"></Avatar>
<div className="ml-10 mr-2 flex items-center rounded-[28px] bg-purple-30 py-[14px] px-[19px] text-white">
<ReactMarkdown className="whitespace-pre-wrap break-normal leading-normal">
{message}
</ReactMarkdown>
<div className="ml-10 mr-2 flex items-center rounded-[28px] bg-purple-30 py-[14px] px-[19px] text-white max-w-full whitespace-pre-wrap leading-normal break-normal">
{message}
</div>
</div>
);
Expand Down

0 comments on commit 5112801

Please sign in to comment.