Adjust card width for mobile
Adjust card width to fit mobile screens.
This commit is contained in:
@@ -110,13 +110,15 @@ const Analytics = () => {
|
||||
|
||||
{/* Category Pie Chart */}
|
||||
<h2 className="text-lg font-semibold mb-3">카테고리별 지출</h2>
|
||||
{expenseData.some(item => item.value > 0) ? (
|
||||
<ExpenseChart data={expenseData} />
|
||||
) : (
|
||||
<div className="neuro-card h-52 flex items-center justify-center text-gray-400">
|
||||
<p>데이터가 없습니다</p>
|
||||
</div>
|
||||
)}
|
||||
<div className="w-full">
|
||||
{expenseData.some(item => item.value > 0) ? (
|
||||
<ExpenseChart data={expenseData} />
|
||||
) : (
|
||||
<div className="neuro-card h-52 w-full flex items-center justify-center text-gray-400">
|
||||
<p>데이터가 없습니다</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Top Spending Categories */}
|
||||
<h2 className="text-lg font-semibold mb-3 mt-6">주요 지출 카테고리</h2>
|
||||
|
||||
Reference in New Issue
Block a user