fix(MessageBox): <code/> type message text-color adapt light mode

This commit is contained in:
WanQuanXie 2024-05-28 07:47:45 +08:00
parent b37a6e1560
commit d28cfa3319
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ const MessageBox = ({
Answer
</h3>
</div>
<Markdown className="prose prose-strong:text-black dark:prose-strong:text-white dark:prose-invert 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="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">
{parsedMessage}
</Markdown>
{loading && isLast ? null : (