cedricdelpoux / cedricdelpoux/react-responsive-masonry

Add min-width: 0 to column styles?

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
455
Forks
47
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.