We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d96e713 commit b4ba44aCopy full SHA for b4ba44a
client/modules/IDE/components/Editor.js
@@ -11,7 +11,8 @@ class Editor extends React.Component {
11
value: this.props.file.content,
12
lineNumbers: true,
13
styleActiveLine: true,
14
- mode: 'javascript'
+ mode: 'javascript',
15
+ lineWrapping: true
16
});
17
this._cm.on('change', () => { // eslint-disable-line
18
// this.props.updateFileContent('sketch.js', this._cm.getValue());
client/styles/layout/_ide.scss
@@ -6,12 +6,13 @@
6
}
7
8
.editor-holder {
9
- flex-grow: 1;
+ flex: 1 0 0;
10
+ max-width: 45%;
height: 100%;
.preview-frame {
.toolbar {
0 commit comments