fix(ace-editor): use monospace fonts by default (#23747)

This commit is contained in:
Ville Brofeldt
2023-04-20 14:45:43 +03:00
committed by GitHub
parent f80e738196
commit b2b8c3e05b
2 changed files with 3 additions and 3 deletions

View File

@@ -65,9 +65,6 @@ const StyledAceEditor = styled(AceEditor)`
// double class is better than !important
border: 1px solid ${theme.colors.grayscale.light2};
font-feature-settings: 'liga' off, 'calt' off;
// Fira Code causes problem with Ace under Firefox
font-family: 'Menlo', 'Consolas', 'Courier New', 'Ubuntu Mono',
'source-code-pro', 'Lucida Console', monospace;
&.ace_autocomplete {
// Use !important because Ace Editor applies extra CSS at the last second