Skip to content

Commit ba6a1fd

Browse files
committed
fix(web): force mono family in streamdown highlighted code spans
1 parent b58437b commit ba6a1fd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

web/src/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,11 @@ html, body, #root {
787787
font-size: 12.5px;
788788
line-height: 1.7;
789789
}
790+
.markdown-streamdown [data-streamdown="code-block"] pre,
791+
.markdown-streamdown [data-streamdown="code-block"] pre code,
792+
.markdown-streamdown [data-streamdown="code-block"] pre code span {
793+
font-family: var(--font-code) !important;
794+
}
790795
.markdown-streamdown [data-streamdown="code-block"] code {
791796
padding: 0;
792797
border: none;

0 commit comments

Comments
 (0)