diff --git a/client/modules/IDE/components/Editor.jsx b/client/modules/IDE/components/Editor.jsx index 2b970660..892028c4 100644 --- a/client/modules/IDE/components/Editor.jsx +++ b/client/modules/IDE/components/Editor.jsx @@ -290,6 +290,11 @@ class Editor extends React.Component { 'editor--options': this.props.editorOptionsVisible }); + const editorHolderClass = classNames({ + 'editor-holder': true, + 'editor-holder--hidden': this.props.file.fileType === 'folder' || this.props.file.url + }); + return (
-
{ this.codemirrorContainer = element; }} className="editor-holder" > +
{ this.codemirrorContainer = element; }} className={editorHolderClass} >