Layout Packages

widow-best

Given a variable number of items and a range representing the minimum / maximum grid columns, returns the denominator for the best grid layout that prevents widows (an item appearing on its own row all alone)

1.0.2 • Published 1 year ago