sapegin/jquery.mosaicflow

Specifying Gutters Between Columns

Closed this issue · 1 comments

What's the best way to do this? I was having a play with CSS, but it seems like the widths are all set to fill the container and not allow for gutters.

      $(window).bind("mosaicflow-layout", function(e){
        var index = $('.mosaicflow__column').length - 1;
        $(".mosaicflow__column").eq(index).css({marginRight: 0});
      });

Just set paddings inside column. You don’t need JS for that.