Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masonry with 50% and 100%. width items not working #1174

Open
sbalet opened this issue Aug 14, 2022 · 0 comments
Open

Masonry with 50% and 100%. width items not working #1174

sbalet opened this issue Aug 14, 2022 · 0 comments

Comments

@sbalet
Copy link

sbalet commented Aug 14, 2022

Hello,

I'm developing a website with a page that has text on the left, then news cards in a column on the right. Some news will be 100% width of the column, others 50% and I want them to be reordered by masonry to fill the possible gaps
As you can see on this codepen, it does not work on the example from left part (with 100% - 50% elements), but works on the right with 50% - 25% elements.

I'd like that on the left part item 3 comes after one to fill the gap, but I don't know why it does not want to.

Any help very appreciated, thanks in advance

Codepen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant