Skip to content

Commit

Permalink
refactor: update analysis section in BudgetVisualization for improved…
Browse files Browse the repository at this point in the history
… clarity

- Wrapped analysis header and note in a div for better layout.
- Added explanatory note regarding statistics update on page scroll.
  • Loading branch information
i-am-alvin committed Feb 17, 2025
1 parent f85b440 commit af940d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/budget-visualization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ export default function BudgetVisualization({ list }: BudgetVisProps) {

{/* Analysis Section */}
<div>
<h3 className="text-sm text-gray-500 mb-6">通過案件分析</h3>
<div className="mb-4">
<h3 className="text-sm text-gray-500">通過案件分析</h3>
<p className="text-xs text-gray-500 mt-1">註:統計資料會隨著頁面捲動更新,請捲動至頁面底部以取得完整統計。</p>
</div>
<div className="grid grid-cols-3 gap-8">
{Object.entries(stats).map(([action, stat]) => (
<div key={action} className="relative">
Expand Down

0 comments on commit af940d4

Please sign in to comment.