Refactor: Adjust chart margin

Shifted the right margin of the chart to the right by 5px.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 12:11:32 +00:00
parent 4646d21263
commit a9acac125d

View File

@@ -17,7 +17,7 @@ const ExpenseChart: React.FC<ExpenseChartProps> = ({ data }) => {
return ( return (
<div className="neuro-card h-64 desktop-card"> <div className="neuro-card h-64 desktop-card">
<ResponsiveContainer width="100%" height="100%"> <ResponsiveContainer width="100%" height="100%">
<PieChart margin={{ left: 35, right: 45, top: 20, bottom: 20 }}> <PieChart margin={{ left: 30, right: 50, top: 20, bottom: 20 }}>
<Pie <Pie
data={data} data={data}
cx="50%" cx="50%"