Skip to content

Commit

Permalink
[sql lab] fix responsivity of grid (#2742)
Browse files Browse the repository at this point in the history
* [sql lab] fix responsivity of grid

* Lint
  • Loading branch information
mistercrunch authored May 11, 2017
1 parent 5dbfdef commit f55df3b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions superset/assets/javascripts/SqlLab/components/SqlEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,12 @@ class SqlEditor extends React.PureComponent {
<Collapse
in={!this.props.hideLeftBar}
>
<Col md={3}>
<Col
xs={6}
sm={5}
md={4}
lg={3}
>
<SqlEditorLeftBar
height={this.sqlEditorHeight()}
queryEditor={this.props.queryEditor}
Expand All @@ -202,7 +207,12 @@ class SqlEditor extends React.PureComponent {
/>
</Col>
</Collapse>
<Col md={this.props.hideLeftBar ? 12 : 9}>
<Col
xs={this.props.hideLeftBar ? 12 : 6}
sm={this.props.hideLeftBar ? 12 : 7}
md={this.props.hideLeftBar ? 12 : 8}
lg={this.props.hideLeftBar ? 12 : 9}
>
<AceEditorWrapper
actions={this.props.actions}
onBlur={this.setQueryEditorSql.bind(this)}
Expand Down

0 comments on commit f55df3b

Please sign in to comment.