Nested
Nested copied to clipboard
minWidth + minColum less than 10px breaks everything
I want to add very-very small blocks, thouthands of them. I use this settings
// Masonry Grid Settings
$(function() {
$('#container').nested({
gutter : 0,
minWidth: 10,
minColumn: 10,
});
$('#prepend').click(function(){
var boxes = makeBoxes();
$('#container').prepend(boxes).nested({
prepend : boxes,
gutter : 0,
minWidth: 10,
minColumn: 10,
resizeToFit : false,
resizeToFitOptions: {
resizeAny: false
},
});
});
});
Add 1 small 10x10 pixels block, it is ok, but the next now, if he is more than 10x10 sizes, it breaks everything. Pictures almost does not moving, and each one added, goes as layer. Like a heap....