Explore/UI: Removes unnecessary grafana-info-box wrapper around InfluxCheatSheet (#19701)

pull/19418/head
kay delaney 6 years ago committed by GitHub
parent 5cf69e6b25
commit 82ce5a194d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      public/app/plugins/datasource/influxdb/components/InfluxStartPage.tsx
  2. 4
      public/app/plugins/datasource/loki/components/LokiCheatSheet.tsx

@ -4,10 +4,6 @@ import InfluxCheatSheet from './InfluxCheatSheet';
export default class InfluxStartPage extends PureComponent<ExploreStartPageProps> {
render() {
return (
<div className="grafana-info-box grafana-info-box--max-lg">
<InfluxCheatSheet onClickExample={this.props.onClickExample} />
</div>
);
return <InfluxCheatSheet onClickExample={this.props.onClickExample} />;
}
}

@ -61,7 +61,7 @@ export default class LokiCheatSheet extends PureComponent<ExploreStartPageProps,
const { userExamples } = this.state;
return (
<div>
<>
<h2>Loki Cheat Sheet</h2>
<div className="cheat-sheet-item">
<div className="cheat-sheet-item__title">See your logs</div>
@ -95,7 +95,7 @@ export default class LokiCheatSheet extends PureComponent<ExploreStartPageProps,
supports exact and regular expression filters.
</div>
</div>
</div>
</>
);
}
}

Loading…
Cancel
Save