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> { export default class InfluxStartPage extends PureComponent<ExploreStartPageProps> {
render() { render() {
return ( return <InfluxCheatSheet onClickExample={this.props.onClickExample} />;
<div className="grafana-info-box grafana-info-box--max-lg">
<InfluxCheatSheet onClickExample={this.props.onClickExample} />
</div>
);
} }
} }

View File

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