From 91fb23503098a3efe41a472da256d0a05aaf6b80 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 6 Feb 2025 10:07:04 +0000 Subject: [PATCH] Set font-variant-numeric: slashed-zero (#23416) GitOrigin-RevId: 8a1ebecfe513226db75db431a05315064d6610d6 --- .../web/frontend/js/features/source-editor/extensions/theme.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/frontend/js/features/source-editor/extensions/theme.ts b/services/web/frontend/js/features/source-editor/extensions/theme.ts index f889d360e7..a95f94dd88 100644 --- a/services/web/frontend/js/features/source-editor/extensions/theme.ts +++ b/services/web/frontend/js/features/source-editor/extensions/theme.ts @@ -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)': {