mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-25 07:15:36 +00:00
fix: correct gutter value type in Masonry component (#205)
This commit is contained in:
@@ -19,7 +19,7 @@ export function MasonryGallery({ photos }: MasonryGalleryProps) {
|
|||||||
}, [width])
|
}, [width])
|
||||||
return (
|
return (
|
||||||
<div className="scrollbar-none h-screen overflow-auto">
|
<div className="scrollbar-none h-screen overflow-auto">
|
||||||
<Masonry gutter={4} columnsCount={columnsCount}>
|
<Masonry gutter="4px" columnsCount={columnsCount}>
|
||||||
{photos.map((photo) => (
|
{photos.map((photo) => (
|
||||||
<PhotoItem key={photo.id} photo={photo} />
|
<PhotoItem key={photo.id} photo={photo} />
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user