问题
I have this layout of gallery
I also have array of images:[image1, image2, image3 etc]
The number of images is not static. It can be 20, 30 or any other number. I'm trying to map my array and render those images, the problem is, how to make them look like on the screen, so every few, one is bigger and all of them lay next to each other without empty spaces. Also it needs to be responsive until 768 px, so other component will be displayed. Do you guys have any idea how to do it? Thank you in advance!
来源:https://stackoverflow.com/questions/65673065/irregular-gallery-in-react