File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
static/app/views/alerts/rules/details Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ class MetricChart extends React.PureComponent<Props, State> {
614614
615615 return (
616616 < ChartPanel >
617- < PanelBody withPadding >
617+ < StyledPanelBody withPadding >
618618 < ChartHeader >
619619 < ChartTitle >
620620 < PresetName >
@@ -631,7 +631,7 @@ class MetricChart extends React.PureComponent<Props, State> {
631631 maxThresholdValue ,
632632 maxSeriesValue
633633 ) }
634- </ PanelBody >
634+ </ StyledPanelBody >
635635 { this . renderChartActions ( totalDuration , criticalDuration , warningDuration ) }
636636 </ ChartPanel >
637637 ) ;
@@ -691,6 +691,11 @@ const StatItem = styled('div')`
691691 margin: 0 ${ space ( 2 ) } 0 0;
692692` ;
693693
694+ /* Override padding to make chart appear centered */
695+ const StyledPanelBody = styled ( PanelBody ) `
696+ padding-right: 6px;
697+ ` ;
698+
694699const StatCount = styled ( 'span' ) `
695700 margin-left: ${ space ( 0.5 ) } ;
696701 margin-top: ${ space ( 0.25 ) } ;
You can’t perform that action at this time.
0 commit comments