Skip to content

[BUG] gutterPixels not being applied #187

@weinde

Description

@weinde

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions