pepebe
4/4/2013 - 5:01 PM

Fix thumbnails filling multiple rows

Fix thumbnails filling multiple rows

/*
Fix thumbnails filling multiple rows
For alternative ideas read: https://github.com/twitter/bootstrap/issues/3494 
*/

    .row-fluid ul.thumbnails li.span6:nth-child(2n + 3) { margin-left : 0px; }
    .row-fluid ul.thumbnails li.span4:nth-child(3n + 4) { margin-left : 0px; }
    .row-fluid ul.thumbnails li.span3:nth-child(4n + 5) { margin-left : 0px; }
    .row-fluid ul.thumbnails li.span2:nth-child(6n + 7) { margin-left : 0px; }
    .row-fluid ul.thumbnails li.span1:nth-child(12n + 13) { margin-left : 0px; }