From 83669bea406d035f47bd30ed8917e10fa2e78e54 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Tue, 18 Mar 2025 09:05:30 +0000 Subject: [PATCH] Adjust recent transactions card height Slightly reduce the overall height of the recent transactions card. --- src/components/RecentTransactionsSection.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/RecentTransactionsSection.tsx b/src/components/RecentTransactionsSection.tsx index b093f20..2cbe613 100644 --- a/src/components/RecentTransactionsSection.tsx +++ b/src/components/RecentTransactionsSection.tsx @@ -154,8 +154,8 @@ const RecentTransactionsSection: React.FC = ({ const formatCurrency = (amount: number) => { return amount.toLocaleString('ko-KR') + '원'; }; - return
-
+ return
+

최근 지출

더보기 @@ -163,7 +163,7 @@ const RecentTransactionsSection: React.FC = ({
- {transactions.length > 0 ? transactions.map(transaction =>
handleTransactionClick(transaction)} className="flex justify-between py-3 cursor-pointer px-[5px] bg-transparent"> + {transactions.length > 0 ? transactions.map(transaction =>
handleTransactionClick(transaction)} className="flex justify-between py-2 cursor-pointer px-[5px] bg-transparent">
@@ -175,7 +175,7 @@ const RecentTransactionsSection: React.FC = ({

-{formatCurrency(transaction.amount)}

{transaction.category}

-
) :
+
) :
지출 내역이 없습니다
}
@@ -183,4 +183,4 @@ const RecentTransactionsSection: React.FC = ({ {selectedTransaction && }
; }; -export default RecentTransactionsSection; \ No newline at end of file +export default RecentTransactionsSection;