added max-widths to explore start pages boxes

This commit is contained in:
Torkel Ödegaard 2018-12-04 15:04:55 +01:00
parent 1fddb6144d
commit 401b470ebb
3 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,7 @@ interface Props {
export default class LoggingStartPage extends PureComponent<Props> {
render() {
return (
<div className="grafana-info-box">
<div className="grafana-info-box grafana-info-box--max-lg">
<LoggingCheatSheet onClickExample={this.props.onClickExample} />
</div>
);

View File

@ -8,7 +8,7 @@ interface Props {
export default class PromStart extends PureComponent<Props> {
render() {
return (
<div className="grafana-info-box">
<div className="grafana-info-box grafana-info-box--max-lg">
<PromCheatSheet onClickExample={this.props.onClickExample} />
</div>
);

View File

@ -32,6 +32,10 @@
a {
@extend .external-link;
}
&--max-lg {
max-width: map-get($grid-breakpoints, 'lg');
}
}
.grafana-info-box__close {