mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: fix promql query editor resolution field's position to prevent overflow (#25566)
* GraphPanel: fix promql query editor resolution field's max height to prevent overflow * fix test * move menuPlacement to bottom instead
This commit is contained in:
@@ -155,6 +155,7 @@ export class PromQueryEditor extends PureComponent<Props, State> {
|
||||
<div className="gf-form-label">Resolution</div>
|
||||
<Select
|
||||
isSearchable={false}
|
||||
menuPlacement="bottom"
|
||||
options={INTERVAL_FACTOR_OPTIONS}
|
||||
onChange={this.onIntervalFactorChange}
|
||||
value={intervalFactorOption}
|
||||
|
||||
@@ -78,6 +78,7 @@ exports[`Render PromQueryEditor with basic options should render 1`] = `
|
||||
</div>
|
||||
<Select
|
||||
isSearchable={false}
|
||||
menuPlacement="bottom"
|
||||
onChange={[Function]}
|
||||
options={
|
||||
Array [
|
||||
|
||||
Reference in New Issue
Block a user