Fix /grid sticky sidebar

This commit is contained in:
Sam Becker 2024-03-18 09:14:54 -05:00
parent 75fd60bd2e
commit e36f09185d

View File

@ -42,7 +42,7 @@ export default async function GridPage({ searchParams }: PaginationParams) {
photos.length > 0 photos.length > 0
? <SiteGrid ? <SiteGrid
contentMain={<PhotoGrid {...{ photos, showMorePath }} />} contentMain={<PhotoGrid {...{ photos, showMorePath }} />}
contentSide={<div className="sticky space-y-4 mt-[-4px]"> contentSide={<div className="sticky top-4 space-y-4 mt-[-4px]">
<PhotoGridSidebar {...{ <PhotoGridSidebar {...{
tags, tags,
cameras, cameras,