Skip to content

Commit

Permalink
fix: explore panel missing padding (apache#10505)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmud authored and auxten committed Nov 20, 2020
1 parent f5dc79f commit a8ffb52
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 a8ffb52

Please sign in to comment.