Commit 8c629292 authored by Steven's avatar Steven

chore: update code block styles

parent f05a8931
......@@ -17,7 +17,7 @@ const CodeBlock: React.FC<Props> = ({ language, content }: Props) => {
// Users can set Markdown code blocks as `__html` to render HTML directly.
if (formatedLanguage === "__html") {
return <div className="w-full !my-2" dangerouslySetInnerHTML={{ __html: content }} />;
return <div className="w-full overflow-auto !my-2" dangerouslySetInnerHTML={{ __html: content }} />;
}
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment