Skip to content

Commit

Permalink
feat(saas): Admin dashboard mobile responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
alifarooq9 committed May 6, 2024
1 parent 7cc05bd commit 1e69ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starterkits/saas/src/app/(app)/admin/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default async function AdminDashPage() {
</Link>
</p>

<div className="grid grid-cols-4 gap-4">
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4">
<StatsCard
title="Users"
value={String(usersCountData.totalCount)}
Expand Down Expand Up @@ -87,7 +87,7 @@ export default async function AdminDashPage() {
/>
</div>

<div className="grid grid-cols-2 gap-4">
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
<UsersChart data={usersChartData} />

<SubsChart data={subsChartData} />
Expand Down

0 comments on commit 1e69ba4

Please sign in to comment.