e-oj / Magic-Grid

A simple, lightweight Javascript library for dynamic grid layouts.
https://www.npmjs.com/package/magic-grid
MIT License
3.14k stars 144 forks source link

allow variable width items #22

Closed bw1984 closed 5 years ago

bw1984 commented 5 years ago

i am aware of the disclaimer on the readme saying that this only works with consistent widths across all items. I just wondered if there is any possibility us using double-width items? (e.g. width + gutter + width)

e-oj commented 5 years ago

Right now, It won't work. Maybe in the future but you can use masonry for that.