Skip to content

Commit

Permalink
fix: code block initial style
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Mar 3, 2024
1 parent 207658f commit d38f314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/code-highlighter/shiki/Shiki.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const ShikiHighLighter: FC<Props> = (props) => {
>
{renderedHtml ? undefined : (
<pre className="bg-transparent">
<code>{value}</code>
<code className="px-4">{value}</code>
</pre>
)}
</div>
Expand Down

0 comments on commit d38f314

Please sign in to comment.