Skip to content

Commit

Permalink
css: add margin-top to ResultSet (#7679)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jun 18, 2019
1 parent 0b1a875 commit f278faa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/assets/src/SqlLab/components/ResultSet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default class ResultSet extends React.PureComponent {
// when new results comes in, save them locally and clear in store
if (this.props.cache && (!nextProps.query.cached)
&& nextProps.query.results
&& nextProps.query.results.data
&& nextProps.query.results.data.length > 0) {
this.setState(
{ data: nextProps.query.results.data },
Expand Down Expand Up @@ -231,6 +232,7 @@ export default class ResultSet extends React.PureComponent {
return (
<Button
bsSize="sm"
className="fetch"
bsStyle="primary"
onClick={this.reFetchQueryResults.bind(this, query)}
>
Expand Down
8 changes: 8 additions & 0 deletions superset/assets/src/SqlLab/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -421,3 +421,11 @@ a.Link {
margin-right: 3px;
}
}

.SouthPane .tab-content .alert {
margin-top: 10px;
}

.SouthPane .tab-content button.fetch {
margin-top: 10px;
}

0 comments on commit f278faa

Please sign in to comment.