Adjust font sizes
Reduce font sizes in several components for better readability and UI consistency.
This commit is contained in:
@@ -27,7 +27,10 @@ const ExpenseChart: React.FC<ExpenseChartProps> = ({ data }) => {
|
||||
paddingAngle={5}
|
||||
dataKey="value"
|
||||
labelLine={true}
|
||||
label={({ name, percent }) => `${name} ${(percent * 100).toFixed(0)}%`}
|
||||
label={({ name, percent }) => (
|
||||
`${name} ${(percent * 100).toFixed(0)}%`
|
||||
)}
|
||||
fontSize={12}
|
||||
>
|
||||
{data.map((entry, index) => (
|
||||
<Cell key={`cell-${index}`} fill={entry.color} />
|
||||
|
||||
Reference in New Issue
Block a user