Prometheus: Minor style fix (#17773)

* Prometheus: Minor style fix

* Updated snapshot
pull/17782/head
Torkel Ödegaard 6 years ago committed by GitHub
parent 7acbb94bb8
commit 40e5c4f8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/plugins/datasource/prometheus/components/PromQueryEditor.tsx
  2. 9
      public/app/plugins/datasource/prometheus/components/__snapshots__/PromQueryEditor.test.tsx.snap

@ -98,7 +98,6 @@ export class PromQueryEditor extends PureComponent<Props, State> {
return (
<div>
<div className="gf-form-input" style={{ height: 'initial' }}>
<PromQueryField
datasource={datasource}
query={query}
@ -109,7 +108,6 @@ export class PromQueryEditor extends PureComponent<Props, State> {
queryResponse={queryResponse}
datasourceStatus={DataSourceStatus.Connected} // TODO: replace with real DataSourceStatus
/>
</div>
<div className="gf-form-inline">
<div className="gf-form">

@ -2,14 +2,6 @@
exports[`Render PromQueryEditor with basic options should render 1`] = `
<div>
<div
className="gf-form-input"
style={
Object {
"height": "initial",
}
}
>
<PromQueryField
datasource={
Object {
@ -28,7 +20,6 @@ exports[`Render PromQueryEditor with basic options should render 1`] = `
}
}
/>
</div>
<div
className="gf-form-inline"
>

Loading…
Cancel
Save