diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js index 83b05145..6a99c715 100644 --- a/src/components/CodeEditor/CodeEditor.js +++ b/src/components/CodeEditor/CodeEditor.js @@ -131,6 +131,9 @@ class CodeEditor extends Component { '& pre.prism-code[contenteditable]': { maxHeight: '280px !important', outline: 0, + overflow : 'auto', + marginRight: '0 !important', + marginBottom: '0 !important', }, }} className="gatsby-highlight">