From 521f334e6f0fb744c32572eb940e8acd885feb37 Mon Sep 17 00:00:00 2001 From: Akshat Garg Date: Sat, 7 Oct 2017 17:32:29 +0530 Subject: [PATCH] Fixes #44 : Update CodeEditor to display the complete content --- src/components/CodeEditor/CodeEditor.js | 3 +++ 1 file changed, 3 insertions(+) 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">