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:
@@ -27,7 +27,7 @@ const CategorySpendingList: React.FC<CategorySpendingListProps> = ({
|
||||
return (
|
||||
<div className={`neuro-card mb-6 w-full ${className}`}>
|
||||
{categories.some(cat => cat.current > 0) ? (
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-4 px-4 py-4">
|
||||
{categories.map((category) => {
|
||||
// 카테고리 이름을 직접 표시
|
||||
const categoryName = category.title;
|
||||
|
||||
Reference in New Issue
Block a user