Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Different widths for Masonry Layout

DLangerenken-OracleAug 31 2016 — edited Sep 6 2016

I like the masonry-layout but would really like to have more flexibility regarding width and height. As my tiles can grow in both width and height - is there any good way to manually change the tile-sizes for the masonry-layout?

Setting width/height of the tile myself is 'breaking' the drag/drop ability. Adding new css-classes for tile-3x3, tile-3x4,... is not working as the tile-sizes are hardcoded in the masonry-js file. Is there a way to handle this?

Most of the time I would like to have 100% width-tiles, but sometimes it would come in handy if I have two tiles next to each other (both 50%). The height should always be flexible based on the content.

Comments
Post Details
Added on Aug 31 2016
3 comments
963 views