Skip to content

Commit d38f314

Browse files
committed
fix: code block initial style
Signed-off-by: Innei <[email protected]>
1 parent 207658f commit d38f314

File tree

1 file changed

+1
-1
lines changed
  • src/components/ui/code-highlighter/shiki

1 file changed

+1
-1
lines changed

src/components/ui/code-highlighter/shiki/Shiki.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export const ShikiHighLighter: FC<Props> = (props) => {
164164
>
165165
{renderedHtml ? undefined : (
166166
<pre className="bg-transparent">
167-
<code>{value}</code>
167+
<code className="px-4">{value}</code>
168168
</pre>
169169
)}
170170
</div>

0 commit comments

Comments
 (0)