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

[BUG] gutterPixels not being applied #187

Open
weinde opened this issue Aug 1, 2023 · 0 comments
Open

[BUG] gutterPixels not being applied #187

weinde opened this issue Aug 1, 2023 · 0 comments
Labels

Comments

@weinde
Copy link

weinde commented Aug 1, 2023

Describe the bug
As the title staits, I am experiencing an issue with "gutterPixels" and layout setting... I have tried applying this code but no gutter is visible and my page and grid look broken

    const filterizr = new Filterizr('.filter-container', {
        gutterPixels: 400,
        layout: 'sameWidth',
    });

Filterizr version
"filterizr": "^2.2.4",

Expected behavior
I expected to have three images in a row with 40px of gutter space in masonary layout (sameWidth or packed)... except I get a broken layout with no gutter and images covering one another (2nd screenshot has some padding to images aplied to simulate gutter)

Screenshots
Screenshot 2023-08-01 at 20 21 21
Uploading Screenshot 2023-08-01 at 20.30.20.png…

Desktop (please complete the following information):

  • OS: [MacOS]
  • Browser [Chrome]
  • Version [115.0.5790.114]
@weinde weinde added the bug label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant