Commit 401b470e by Torkel Ödegaard

added max-widths to explore start pages boxes

parent 1fddb614
...@@ -8,7 +8,7 @@ interface Props { ...@@ -8,7 +8,7 @@ interface Props {
export default class LoggingStartPage extends PureComponent<Props> { export default class LoggingStartPage extends PureComponent<Props> {
render() { render() {
return ( return (
<div className="grafana-info-box"> <div className="grafana-info-box grafana-info-box--max-lg">
<LoggingCheatSheet onClickExample={this.props.onClickExample} /> <LoggingCheatSheet onClickExample={this.props.onClickExample} />
</div> </div>
); );
......
...@@ -8,7 +8,7 @@ interface Props { ...@@ -8,7 +8,7 @@ interface Props {
export default class PromStart extends PureComponent<Props> { export default class PromStart extends PureComponent<Props> {
render() { render() {
return ( return (
<div className="grafana-info-box"> <div className="grafana-info-box grafana-info-box--max-lg">
<PromCheatSheet onClickExample={this.props.onClickExample} /> <PromCheatSheet onClickExample={this.props.onClickExample} />
</div> </div>
); );
......
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
a { a {
@extend .external-link; @extend .external-link;
} }
&--max-lg {
max-width: map-get($grid-breakpoints, 'lg');
}
} }
.grafana-info-box__close { .grafana-info-box__close {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment