add horizonal scroll for code editor
This commit is contained in:
parent
dfc55aaa5b
commit
322ec88b22
2 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,8 @@ class Editor extends React.Component {
|
||||||
styleActiveLine: true,
|
styleActiveLine: true,
|
||||||
inputStyle: 'contenteditable',
|
inputStyle: 'contenteditable',
|
||||||
mode: 'javascript',
|
mode: 'javascript',
|
||||||
lineWrapping: true,
|
lineWrapping: false,
|
||||||
|
fixedGutter: false,
|
||||||
gutters: ['CodeMirror-lint-markers'],
|
gutters: ['CodeMirror-lint-markers'],
|
||||||
keyMap: 'sublime',
|
keyMap: 'sublime',
|
||||||
lint: {
|
lint: {
|
||||||
|
|
|
@ -71,6 +71,7 @@
|
||||||
background-color: getThemifyVariable('editor-gutter-color');
|
background-color: getThemifyVariable('editor-gutter-color');
|
||||||
border-color: getThemifyVariable('ide-border-color');
|
border-color: getThemifyVariable('ide-border-color');
|
||||||
}
|
}
|
||||||
|
// left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor__options-button {
|
.editor__options-button {
|
||||||
|
|
Loading…
Reference in a new issue