Skip to content

Commit 1351f30

Browse files
committed
インラインコードの背景色を文字色に合わせる
1 parent cce6754 commit 1351f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/[docs_id]/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function CodeComponent({
175175
// inline
176176
return (
177177
<code
178-
className="bg-base-content/10 border border-base-content/20 px-1 py-0.5 mx-0.5 rounded-md"
178+
className="bg-current/10 border border-current/20 px-1 py-0.5 mx-0.5 rounded-md"
179179
{...props}
180180
/>
181181
);

0 commit comments

Comments
 (0)