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

This commit is contained in:
kay delaney 2019-10-08 12:45:38 +01:00 committed by GitHub
parent 5cf69e6b25
commit 82ce5a194d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

@ -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} />;
}
}

View File

@ -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>
</>
);
}
}