Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Make the chart bigger in expanded view
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasPetton committed Jun 24, 2021
1 parent 37d21a2 commit ccb524b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/profitAndLossChart/profitAndLossChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default class ProfitAndLossChart extends React.Component {
render() {
return (
<div className="chartExample" style={{
height: this.props.small ? 254 : 294,
height: this.props.small ? 254 : 430,
width: "100%"
}}>
<ChartComponent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ProfitAndLoss extends React.Component {
/>

<FakeLoadingComponent as="chartData" data={data} loader={<LoadingChart/>}>
<ProfitAndLossChart ref={(ref) => (this.ref = ref)} small/>
<ProfitAndLossChart ref={(ref) => (this.ref = ref)} />
</FakeLoadingComponent>
</div>
);
Expand Down

0 comments on commit ccb524b

Please sign in to comment.