mirror of
https://github.com/apache/superset.git
synced 2024-09-06 22:07:34 -04:00
fix: explore panel missing padding (#10505)
This commit is contained in:
parent
bdfabc23e7
commit
246add45a0
@ -51,7 +51,6 @@ const propTypes = {
|
|||||||
|
|
||||||
const Styles = styled.div`
|
const Styles = styled.div`
|
||||||
background-color: ${({ theme }) => theme.colors.grayscale.light5};
|
background-color: ${({ theme }) => theme.colors.grayscale.light5};
|
||||||
padding: ${({ theme }) => theme.gridUnit * 4}px;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -128,9 +127,9 @@ class ExploreChartPanel extends React.PureComponent {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Styles className="chart-container">
|
<Styles className="panel panel-default chart-container">
|
||||||
<div>{header}</div>
|
<div className="panel-heading">{header}</div>
|
||||||
<div>{this.renderChart()}</div>
|
<div className="panel-body">{this.renderChart()}</div>
|
||||||
</Styles>
|
</Styles>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user