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

This commit is contained in:
Charis
2024-03-06 01:32:46 -05:00
committed by GitHub
parent e6eaddbb54
commit 3abd39365c

View File

@@ -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