diff --git a/src/components/charts/SpendingTrendChart.tsx b/src/components/charts/SpendingTrendChart.tsx index fb08c94..6ef5119 100644 --- a/src/components/charts/SpendingTrendChart.tsx +++ b/src/components/charts/SpendingTrendChart.tsx @@ -115,25 +115,21 @@ export const SpendingTrendChart: React.FC = ({ }; return ( -
-

- - 近7日支出趋势 -

- +
+
+

+ 近7日支出趋势 +

+
+
); }; diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index cb92f24..d08cf42 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -260,46 +260,43 @@ function Home() { return (
-
-
-
-
setLedgerSelectorOpen(true)}> - {currentLedger && ( - <> - - {currentLedger.name} - - - )} -
- {new Date().toLocaleDateString('zh-CN', { weekday: 'short', month: 'long', day: 'numeric' })} +
+
+
setLedgerSelectorOpen(true)}> + {currentLedger && ( + <> + + {currentLedger.name} + + + )}
-

- {greeting},保持节奏 -

-

- - {insight} -

+ {new Date().toLocaleDateString('zh-CN', { weekday: 'short', month: 'long', day: 'numeric' })}
-
- - -
-
- +

+ {greeting},保持节奏 +

+

+ + {insight} +

+
+
+ + +