Fix: Dashboard layout overlap and grid structure
This commit is contained in:
BIN
dist.tar.gz
Normal file
BIN
dist.tar.gz
Normal file
Binary file not shown.
@@ -55,39 +55,39 @@ const Dashboard: React.FC = () => {
|
||||
</section>
|
||||
|
||||
{/* Hero Stats (Top Row) */}
|
||||
<section>
|
||||
<section className="relative z-10 text-slate-800">
|
||||
<HeroStats />
|
||||
</section>
|
||||
|
||||
{/* Main Content Area (2 Columns) */}
|
||||
<section className="grid grid-cols-1 lg:grid-cols-2 gap-6 h-auto lg:h-[450px]">
|
||||
<section className="grid grid-cols-1 lg:grid-cols-2 gap-6 items-start relative z-10">
|
||||
{/* Left Column: Recent Transactions */}
|
||||
<div className="h-full">
|
||||
<div className="space-y-6">
|
||||
<TransactionsList />
|
||||
</div>
|
||||
|
||||
{/* Right Column: Financial Goals */}
|
||||
<div className="h-full">
|
||||
<div className="space-y-6">
|
||||
<GoalsList />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Bottom Section (Full Width) - Performance & AI Insights */}
|
||||
<section className="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
||||
<section className="grid grid-cols-1 lg:grid-cols-3 gap-6 items-start relative z-10">
|
||||
{/* Investment Performance (Takes 2 columns) */}
|
||||
<div className="lg:col-span-2 h-[350px]">
|
||||
<div className="lg:col-span-2">
|
||||
<InvestmentPerformance />
|
||||
</div>
|
||||
|
||||
{/* AI Insights (Takes 1 column) */}
|
||||
<div className="h-[350px]">
|
||||
<div className="lg:col-span-1">
|
||||
<AIInsights />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Footer Actions */}
|
||||
<section>
|
||||
<h3 className="text-lg font-medium text-slate-700 mb-4">Quick Actions</h3>
|
||||
<section className="relative z-10">
|
||||
<h3 className="text-lg font-medium text-slate-700 mb-4 px-1">Quick Actions</h3>
|
||||
<QuickActions />
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user