Skip to content

Commit 290dc98

Browse files
authored
Fix potential incorrect font for children of monospace (#102)
1 parent 039aa3a commit 290dc98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreEditor/src/styling/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const sharedStyles: { [selector: string]: StyleSpec } = {
7979
position: 'absolute',
8080
pointerEvents: 'none',
8181
},
82-
'.cm-md-monospace, .cm-md-fencedCode *, .cm-md-table *': {
82+
'.cm-md-monospace, .cm-md-monospace *, .cm-md-fencedCode *, .cm-md-table *': {
8383
fontFamily: 'ui-monospace, monospace',
8484
},
8585
};

0 commit comments

Comments
 (0)