Skip to content

Commit

Permalink
adjust pagination sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell Christ committed Sep 8, 2024
1 parent 4b2b509 commit 24c6960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/modules/blog/BlogFrontpage/Paginated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Paginated({ posts }: { posts: Sanity.BlogPost[] }) {
useEffect(resetPage, [selected])

return (
<>
<div className="relative space-y-12">
<List
posts={paginatedItems}
className="grid gap-x-6 gap-y-12 md:grid-cols-[repeat(auto-fill,minmax(300px,1fr))]"
Expand All @@ -27,6 +27,6 @@ export default function Paginated({ posts }: { posts: Sanity.BlogPost[] }) {
className="frosted-glass sticky bottom-0 flex items-center justify-center gap-4 bg-canvas p-2 [&_span]:tabular-nums"
buttonClassName="hover:underline disabled:opacity-20"
/>
</>
</div>
)
}

0 comments on commit 24c6960

Please sign in to comment.