Skip to content

Commit

Permalink
Collapse table grid items on mobile viewports
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed Jan 19, 2024
1 parent 87bac90 commit fd0acec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,13 @@ export default function Dashboard() {
</Card>
</div>

<div className="grid grid-cols-2 gap-4 mb-4">
<div className="grid md:grid-cols-2 gap-4 mb-4">
<TableCard countByProperty={data.countByPath} columnHeaders={["Page", "Visitors"]} />

<TableCard countByProperty={data.countByReferrer} columnHeaders={["Referrer", "Visitors"]} />
</div>

<div className="grid grid-cols-3 gap-4">
<div className="grid md:grid-cols-3 gap-4">
<TableCard countByProperty={data.countByBrowser} columnHeaders={["Browser", "Visitors"]} />

<TableCard countByProperty={countByCountryName} columnHeaders={["Country", "Visitors"]} />
Expand Down

0 comments on commit fd0acec

Please sign in to comment.