fix: explore panel missing padding (#10505)

This commit is contained in:
Jesse Yang 2020-08-04 15:08:28 -07:00 committed by GitHub
parent bdfabc23e7
commit 246add45a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -51,7 +51,6 @@ const propTypes = {
const Styles = styled.div`
background-color: ${({ theme }) => theme.colors.grayscale.light5};
padding: ${({ theme }) => theme.gridUnit * 4}px;
height: 100%;
display: flex;
flex-direction: column;
@ -128,9 +127,9 @@ class ExploreChartPanel extends React.PureComponent {
);
return (
<Styles className="chart-container">
<div>{header}</div>
<div>{this.renderChart()}</div>
<Styles className="panel panel-default chart-container">
<div className="panel-heading">{header}</div>
<div className="panel-body">{this.renderChart()}</div>
</Styles>
);
}