add more rando
This commit is contained in:
@ -38,7 +38,11 @@ export function JustifiedGallery({ images, rowHeight = 200, gap = 4 }: Props) {
|
||||
<p className="text-muted-foreground text-center py-20">No images to display</p>
|
||||
)}
|
||||
{rows.map((row, i) => (
|
||||
<div key={i} className="flex gap-[4px] mb-[4px]">
|
||||
<div
|
||||
key={i}
|
||||
className="flex mb-4" // Vertical gap between rows
|
||||
style={{ columnGap: `${gap}px` }} // Horizontal gap between images
|
||||
>
|
||||
{row.map((img) => (
|
||||
<div key={img.id} style={{ width: img.width, height: img.height }}>
|
||||
<ImageCard
|
||||
|
||||
Reference in New Issue
Block a user