diff --git a/src/components/BudgetCategoriesSection.tsx b/src/components/BudgetCategoriesSection.tsx index e1d6623..d66eea6 100644 --- a/src/components/BudgetCategoriesSection.tsx +++ b/src/components/BudgetCategoriesSection.tsx @@ -14,7 +14,7 @@ const BudgetCategoriesSection: React.FC = ({ categ return ( <>

지출 카테고리

-
+
{categories.map((category, index) => ( = ({ onSaveBudget }) => { return ( -
+
diff --git a/src/components/ExpenseChart.tsx b/src/components/ExpenseChart.tsx index 20ec49f..6a96208 100644 --- a/src/components/ExpenseChart.tsx +++ b/src/components/ExpenseChart.tsx @@ -14,7 +14,7 @@ interface ExpenseChartProps { const ExpenseChart: React.FC = ({ data }) => { return ( -
+
{ return (
-
+
{navItems.map((item) => { return (
-
+
{transactions.length > 0 ? ( transactions.map((transaction) => (
= ({ const isMobile = useIsMobile(); return ( -
+
diff --git a/src/index.css b/src/index.css index dd536e1..8acc300 100644 --- a/src/index.css +++ b/src/index.css @@ -169,6 +169,25 @@ @apply rounded-xl overflow-hidden; } } + + /* 데스크탑 화면에서의 추가 스타일 */ + @media (min-width: 769px) { + #root { + @apply px-4; + } + + .desktop-container { + @apply max-w-[500px] mx-auto; + } + + .desktop-card { + @apply max-w-[500px] mx-auto; + } + + .neuro-card { + @apply max-w-[500px] mx-auto; + } + } } .font-inter {