Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baerkins
Copy link

@baerkins baerkins commented Jul 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant