trying to add some responsive width to the graph
This commit is contained in:
parent
d2d3c90fb7
commit
e2bccbb9d6
|
@ -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
|
export default LineChart
|
||||||
|
|
Loading…
Reference in New Issue