[sql-lab] make results table scroll in static container (#2426)

* only scroll result set horizontally

* only scroll results table, keep rest of ui static

* use hard coded values

* fix linting
This commit is contained in:
Alanna Scott
2017-03-21 18:30:53 -07:00
committed by GitHub
parent 65c89f54dc
commit 652e572b56
5 changed files with 61 additions and 28 deletions

View File

@@ -114,10 +114,9 @@ class AceEditorWrapper extends React.PureComponent {
theme="github"
onLoad={this.onEditorLoad.bind(this)}
onBlur={this.onBlur.bind(this)}
minLines={8}
maxLines={30}
minLines={12}
maxLines={12}
onChange={this.textChange.bind(this)}
height="200px"
width="100%"
editorProps={{ $blockScrolling: true }}
enableLiveAutocompletion