Center align pie chart

The pie chart was not properly centered. This commit aligns the pie chart to the center of the component.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-21 12:05:00 +00:00
parent ad6e7ebd4b
commit 4cacb31522
3 changed files with 43 additions and 2 deletions

View File

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