update(MessageBox): parsed markdown message render style fix
This commit is contained in:
parent
6a2f4b8ebf
commit
5fe08b5ec8
|
@ -106,7 +106,12 @@ const MessageBox = ({
|
||||||
Answer
|
Answer
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<Markdown className="prose dark:prose-invert prose-strong:text-black dark:prose-strong:text-white prose-code:text-black dark:prose-code:text-white max-w-none break-words prose-invert prose-p:leading-relaxed prose-pre:p-0 text-black dark:text-white text-sm md:text-base font-medium">
|
<Markdown
|
||||||
|
className={cn(
|
||||||
|
'prose dark:prose-invert prose-p:leading-relaxed prose-pre:p-0',
|
||||||
|
'max-w-none break-words text-black dark:text-white text-sm md:text-base font-medium',
|
||||||
|
)}
|
||||||
|
>
|
||||||
{parsedMessage}
|
{parsedMessage}
|
||||||
</Markdown>
|
</Markdown>
|
||||||
{loading && isLast ? null : (
|
{loading && isLast ? null : (
|
||||||
|
|
Loading…
Reference in New Issue