Magic-Grid
Magic-Grid copied to clipboard
Ignore items without height (ie items with "display: none")
This adds a check to see if the item has a height greater than zero before adding it to the column height.
Right now, if an item is set to display: none, the gutter height will still be added to the container, resulting in a container that is taller than the visible items. This check prevents that from happening.