eiriklv / react-masonry-component

A React.js component for using @desandro's Masonry
MIT License
1.43k stars 145 forks source link

Items align to the right when there are odd number of same sized items #134

Open jhk115 opened 6 years ago

jhk115 commented 6 years ago

In this example, I have three items with exactly the same size.

screen shot 2018-08-01 at 1 56 21 pm

The last item is aligned to the right. Is there any way to make it float to the left?

erosenberg commented 5 years ago

Having this exact same issue. @jhk115 - did you ever find a fix for this?

erosenberg commented 5 years ago

Actually, after messing around with it for a bit, everything aligns properly when I give my images explicit heights since they're all the same height. I don't know if this pertains to you but it helped me.