Skip to content

Commit

Permalink
Shrink code editor so explore view can show data and editor on the sa…
Browse files Browse the repository at this point in the history
…me screen
  • Loading branch information
meln5674 committed Feb 6, 2023
1 parent bf5b12d commit da183a0
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,17 @@ export class QueryEditor extends PureComponent<Props> {
>
Aggregation
</InlineFormLabel>
<CodeEditor
height="800px"
showLineNumbers={true}
language="json"
value={query.aggregation || ''}
onBlur={this.onAggregationChange}
></CodeEditor>
<div
style={{ resize: "vertical" }}
>
<CodeEditor
height="300px"
showLineNumbers={true}
language="json"
value={query.aggregation || ''}
onBlur={this.onAggregationChange}
></CodeEditor>
</div>
</>
);
}
Expand Down

0 comments on commit da183a0

Please sign in to comment.