Skip to content

Commit 27b7d28

Browse files
committed
Fix wrong style
1 parent 9ffcc46 commit 27b7d28

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

apps/landing/src/components/Code.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ export const Code = ({
3232
}}
3333
display="none"
3434
>
35-
<SyntaxHighlighter language={language} showLineNumbers style={Dark}>
35+
<SyntaxHighlighter
36+
customStyle={{ margin: 0 }}
37+
language={language}
38+
showLineNumbers
39+
style={Dark}
40+
>
3641
{value}
3742
</SyntaxHighlighter>
3843
</Box>

0 commit comments

Comments
 (0)