Magic-Grid icon indicating copy to clipboard operation
Magic-Grid copied to clipboard

Ignore items without height (ie items with "display: none")

Open baerkins opened this issue 1 year ago • 0 comments

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.

baerkins avatar Jul 02 '24 19:07 baerkins