From 002a37f60fbf5ec7442970f9912e790f49669589 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 16 Mar 2025 06:28:02 +0000 Subject: [PATCH] Adjust Transactions page layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adjusted the layout of the Transactions page to be more centered, referencing the layout of the 지출 화면. --- src/components/BudgetProgressCard.tsx | 2 +- src/components/RecentTransactionsSection.tsx | 2 +- src/index.css | 8 ++------ src/pages/Analytics.tsx | 2 +- src/pages/Index.tsx | 3 ++- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/components/BudgetProgressCard.tsx b/src/components/BudgetProgressCard.tsx index ed9a630..83ec2fd 100644 --- a/src/components/BudgetProgressCard.tsx +++ b/src/components/BudgetProgressCard.tsx @@ -32,7 +32,7 @@ const BudgetProgressCard: React.FC = ({ onSaveBudget }) => { return ( -
+
diff --git a/src/components/RecentTransactionsSection.tsx b/src/components/RecentTransactionsSection.tsx index 205e047..7266932 100644 --- a/src/components/RecentTransactionsSection.tsx +++ b/src/components/RecentTransactionsSection.tsx @@ -70,7 +70,7 @@ const RecentTransactionsSection: React.FC = ({ 더보기
-
+
{transactions.length > 0 ? ( transactions.map((transaction) => (
{ return (
-
+
{/* Header */}

지출 분석

diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index c45aaa8..a1d1171 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -1,3 +1,4 @@ + import React, { useState, useEffect } from 'react'; import NavBar from '@/components/NavBar'; import AddTransactionButton from '@/components/AddTransactionButton'; @@ -139,7 +140,7 @@ const Index = () => { return (
-
+
{/* 목표 진행 상황 */}