mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-20 02:16:39 +00:00
fix: mobile overflows
This commit is contained in:
1 parent
22c0375dca
commit
226adfdba2
1 file changed
+5
-2
@@ -51,9 +51,12 @@ const ConversationBubble = forwardRef<
|
|||||||
let bubble;
|
let bubble;
|
||||||
if (type === 'QUESTION') {
|
if (type === 'QUESTION') {
|
||||||
bubble = (
|
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>
|
<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 w-full whitespace-pre-wrap leading-normal break-line">
|
<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}
|
{message}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user