cedricdelpoux / react-responsive-masonry

React responsive masonry component built with css flexbox
https://cedricdelpoux.github.io/react-responsive-masonry/
MIT License
377 stars 37 forks source link

Add min-width: 0 to column styles? #12

Open ncirkel opened 6 years ago

ncirkel commented 6 years ago

I had an issue when using overflow: hidden deeply nested inside the masonry structure, causing one column to grow wider than the others. Adding min-width: 0; to the column styles fixed this, as explained in this article: https://css-tricks.com/flexbox-truncated-text/

Would it be an idea to add this by default? I don't think it has any side effects and might make things a bit more stable in this specific situation.

Thanks for the awesome component btw!