From df21979d5ea6c77ac1e1d37619864a3e6cdf75f8 Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Fri, 23 Feb 2018 18:06:49 -0800 Subject: [PATCH] Make full screen code block use the same font-size on the original code block. (#447) --- src/components/code/_code_block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/code/_code_block.js b/src/components/code/_code_block.js index ba7d293640c..36489668d3b 100644 --- a/src/components/code/_code_block.js +++ b/src/components/code/_code_block.js @@ -162,7 +162,7 @@ export class EuiCodeBlockImpl extends Component { */} const fullScreenClasses = classNames( 'euiCodeBlock', - 'euiCodeBlock--fontLarge', + fontSizeToClassNameMap[fontSize], 'euiCodeBlock-paddingLarge', 'euiCodeBlock-isFullScreen', );