Skip to content

Commit

Permalink
fix: explore panel missing padding (#10505)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmud authored Aug 4, 2020
1 parent bdfabc2 commit 246add4
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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>
);
}
Expand Down

0 comments on commit 246add4

Please sign in to comment.