Skip to content

Commit

Permalink
Better dashboard view/visit/visitor numbers on mobile viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed Jan 19, 2024
1 parent 7c8de3e commit 4757944
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/routes/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,17 +166,17 @@ export default function Dashboard() {
<div className="w-full mb-4">
<Card>
<CardContent className="pt-6">
<div className="grid grid-cols-3 gap-10">
<div className="grid grid-cols-3 gap-10 items-end">
<div>
<div>Page Views</div>
<div className="text-sm sm:text-lg">Views</div>
<div className="text-4xl">{data.views}</div>
</div>
<div>
<div>Visits</div>
<div className="text-sm sm:text-lg">Visits</div>
<div className="text-4xl">{data.visits}</div>
</div>
<div>
<div>Unique Visitors</div>
<div className="text-sm sm:text-lg">Visitors</div>
<div className="text-4xl">{data.visitors}</div>
</div>
</div>
Expand Down

0 comments on commit 4757944

Please sign in to comment.