Skip to content

Commit 48c9676

Browse files
committed
fix: 修复代码块文字对比度问题
1 parent effdd4c commit 48c9676

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/styles/global.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ body {
420420
.prose pre code {
421421
background: none;
422422
padding: 0;
423+
color: inherit;
424+
font-size: inherit;
423425
}
424426

425427
.prose ul, .prose ol {

0 commit comments

Comments
 (0)