Skip to content

Commit 305e48c

Browse files
committed
adjust columns to balance in smaller steps to prevent jumping over a balance point adamwulf#108
1 parent 62f8bdf commit 305e48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.columnizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@
576576
// hopefully this'll mean more content fits into
577577
// earlier columns, so that the last column
578578
// can be shorter than the rest
579-
adjustment += 30;
579+
adjustment += 5;
580580

581581
targetHeight = targetHeight + 30;
582582
if(loopCount == maxLoops-1) maxLoops++;

0 commit comments

Comments
 (0)