feat(messageBox): style markdown
This commit is contained in:
parent
5b3e8a3214
commit
db7407bfac
|
@ -107,8 +107,8 @@ const MessageBox = ({
|
||||||
</div>
|
</div>
|
||||||
<Markdown
|
<Markdown
|
||||||
className={cn(
|
className={cn(
|
||||||
'prose dark:prose-invert prose-p:leading-relaxed prose-pre:p-0',
|
'prose prose-h1:mb-3 prose-h2:mb-2 prose-h2:mt-6 prose-h2:font-[800] prose-h3:mt-4 prose-h3:mb-1.5 prose-h3:font-[600] dark:prose-invert prose-p:leading-relaxed prose-pre:p-0 font-[400]',
|
||||||
'max-w-none break-words text-black dark:text-white text-sm md:text-base font-medium',
|
'max-w-none break-words text-black dark:text-white',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{parsedMessage}
|
{parsedMessage}
|
||||||
|
|
Loading…
Reference in New Issue