From 322ec88b225256394654470f0e210ebf62e96d82 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Wed, 5 Oct 2016 12:26:49 -0400 Subject: [PATCH] add horizonal scroll for code editor --- client/modules/IDE/components/Editor.js | 3 ++- client/styles/components/_editor.scss | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/modules/IDE/components/Editor.js b/client/modules/IDE/components/Editor.js index d08cfb77..1972aa15 100644 --- a/client/modules/IDE/components/Editor.js +++ b/client/modules/IDE/components/Editor.js @@ -45,7 +45,8 @@ class Editor extends React.Component { styleActiveLine: true, inputStyle: 'contenteditable', mode: 'javascript', - lineWrapping: true, + lineWrapping: false, + fixedGutter: false, gutters: ['CodeMirror-lint-markers'], keyMap: 'sublime', lint: { diff --git a/client/styles/components/_editor.scss b/client/styles/components/_editor.scss index 1c3d739f..623d802e 100644 --- a/client/styles/components/_editor.scss +++ b/client/styles/components/_editor.scss @@ -71,6 +71,7 @@ background-color: getThemifyVariable('editor-gutter-color'); border-color: getThemifyVariable('ide-border-color'); } + // left: 0 !important; } .editor__options-button {