diff --git a/src/plugins/kibana_react/public/code_editor/__snapshots__/code_editor.test.tsx.snap b/src/plugins/kibana_react/public/code_editor/__snapshots__/code_editor.test.tsx.snap index d4fb5a708e440..230d31ac9e0b6 100644 --- a/src/plugins/kibana_react/public/code_editor/__snapshots__/code_editor.test.tsx.snap +++ b/src/plugins/kibana_react/public/code_editor/__snapshots__/code_editor.test.tsx.snap @@ -11,6 +11,9 @@ exports[`is rendered 1`] = ` onChange={[Function]} options={ Object { + "fontFamily": "Roboto Mono", + "fontSize": 12, + "lineHeight": 21, "matchBrackets": "never", "minimap": Object { "enabled": false, diff --git a/src/plugins/kibana_react/public/code_editor/code_editor.tsx b/src/plugins/kibana_react/public/code_editor/code_editor.tsx index 6b02d8d159617..e233b4468b0c6 100644 --- a/src/plugins/kibana_react/public/code_editor/code_editor.tsx +++ b/src/plugins/kibana_react/public/code_editor/code_editor.tsx @@ -193,6 +193,9 @@ export class CodeEditor extends React.Component { wordWrap: 'on', wrappingIndent: 'indent', matchBrackets: 'never', + fontFamily: 'Roboto Mono', + fontSize: 12, + lineHeight: 21, ...options, }} /> diff --git a/x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx b/x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx index 53ba7996eb641..a86d5c676166d 100644 --- a/x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx +++ b/x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx @@ -318,7 +318,7 @@ export class ExpressionInput extends React.Component { provideHover: this.providerHover, }} options={{ - fontSize: isCompact ? 12 : 16, + fontSize: isCompact ? 12 : 14, scrollBeyondLastLine: false, quickSuggestions: true, minimap: {