fix: fix color of ai code blocks in light mode (#21795)

This commit is contained in:
Charis authored and GitHub committed 2024-03-06 14:32:46 +08:00
1 parent e6eaddbb54
commit 3abd39365c
1 file changed
+1 -1
@@ -98,7 +98,7 @@ export const CodeBlock = ({
// @ts-ignore
style={monokaiTheme}
className={cn(
'code-block border border-surface p-4 w-full !my-0 bg-surface-100',
'code-block border border-surface p-4 w-full !my-0 !bg-surface-100',
`${!title ? '!rounded-md' : '!rounded-t-none !rounded-b-md'}`,
`${!showLineNumbers ? 'pl-6' : ''}`,
className