mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
[sql lab] using react-split-pane (#3363)
* [sql lab] using react-split-pane * padding
This commit is contained in:
committed by
GitHub
parent
2d237fe2ef
commit
aff7a82664
@@ -32,6 +32,7 @@ const propTypes = {
|
||||
sql: PropTypes.string.isRequired,
|
||||
tables: PropTypes.array,
|
||||
queryEditor: PropTypes.object.isRequired,
|
||||
height: PropTypes.string,
|
||||
};
|
||||
|
||||
const defaultProps = {
|
||||
@@ -125,8 +126,7 @@ class AceEditorWrapper extends React.PureComponent {
|
||||
theme="github"
|
||||
onLoad={this.onEditorLoad.bind(this)}
|
||||
onBlur={this.onBlur.bind(this)}
|
||||
minLines={12}
|
||||
maxLines={12}
|
||||
height={this.props.height}
|
||||
onChange={this.textChange.bind(this)}
|
||||
width="100%"
|
||||
editorProps={{ $blockScrolling: true }}
|
||||
|
||||
Reference in New Issue
Block a user