mirror of
https://github.com/getredash/redash.git
synced 2026-05-13 06:00:53 -04:00
Add margin between format and autocomplete buttons (#2899)
This commit is contained in:
@@ -195,12 +195,12 @@ class QueryEditor extends React.Component {
|
||||
<button type="button" className="btn btn-default m-r-5" onClick={this.props.addNewParameter}>{{ }}</button>
|
||||
</Tooltip>
|
||||
<Tooltip placement="top" title="Format Query">
|
||||
<button type="button" className="btn btn-default" onClick={this.formatQuery}>
|
||||
<button type="button" className="btn btn-default m-r-5" onClick={this.formatQuery}>
|
||||
<span className="zmdi zmdi-format-indent-increase" />
|
||||
</button>
|
||||
</Tooltip>
|
||||
<Tooltip placement="top" title="Autocomplete">
|
||||
<button className={'btn btn-default' + (this.state.autocompleteQuery ? ' active' : '')} onClick={() => this.setState({ autocompleteQuery: !this.state.autocompleteQuery })} >
|
||||
<button type="button" className={'btn btn-default' + (this.state.autocompleteQuery ? ' active' : '')} onClick={() => this.setState({ autocompleteQuery: !this.state.autocompleteQuery })} >
|
||||
<span className="fa fa-magic" />
|
||||
</button>
|
||||
</Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user