Closed k-nut closed 4 years ago
This might also be an interesting reference: https://css-tricks.com/piecing-together-approaches-for-a-css-masonry-layout/
@jochenklar I amended my commit and force pushed. The css now includes a column-gap
which is set to the the same as the margin-bottom on the project cards.
This PR replaces the packery JS library in the project view with the native multi-column layout. It has multiple advantages:
But also has the disadvantage that we cannot be sure about the project order anymore. I think previously the projects would show up like this:
where they might now show up like this since they are filled column by column:
I'm happy to discuss if you all think this is a good idea or not. If we agree that it is a good idea, I'll also replace all other occurrences of packery.
Reference (where I got the idea to do this): https://www.smashingmagazine.com/2019/01/css-multiple-column-layout-multicol/
new