Set font-variant-numeric: slashed-zero (#23416)

GitOrigin-RevId: 8a1ebecfe513226db75db431a05315064d6610d6
This commit is contained in:
Alf Eaton
2025-02-06 10:07:04 +00:00
committed by Copybot
parent 36392832d5
commit 91fb235030

View File

@@ -179,6 +179,7 @@ const staticTheme = EditorView.theme({
'&': {
height: '100%',
textRendering: 'optimizeSpeed',
fontVariantNumeric: 'slashed-zero',
},
// remove the outline from the focused editor
'&.cm-editor.cm-focused:not(:focus-visible)': {