Skip to content

Commit aa733f1

Browse files
committed
Remove border from code-block.
1 parent 1352d5a commit aa733f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mdx/CodeBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const CodeBlock = memo(({ children, language, className }: CodeBlockProps
3131
ref={preRef}
3232
role="region"
3333
aria-label={language ? `Code block in ${language}` : "Code block"}
34-
className={`relative my-4 overflow-x-auto rounded-lg border border-neutral-700 bg-gray-900 p-4 font-mono text-sm text-neutral-200 ${className ?? ""}`}
34+
className={`relative my-4 overflow-x-auto rounded-lg bg-gray-900 p-4 font-mono text-sm text-neutral-200 ${className ?? ""}`}
3535
>
3636
<button
3737
type="button"

0 commit comments

Comments
 (0)