trying to add some responsive width to the graph

This commit is contained in:
Ivana Andersson 2023-09-27 17:43:26 +03:00
parent d2d3c90fb7
commit e2bccbb9d6
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ const LineChart = ({ years, userGains }: LineChartProps) => {
},
}
return <Line options={data.options} data={data} />
return <Line options={data.options} data={data} style={{ width: 'max-content' }} />
}
export default LineChart