SOLVED: Masonry gallery default spacing breaks masonry gallery

Bricks Version: 1.6.2
Browser: Chrome Version 109.0.5414.75 (Official Build) (64-bit), Firefox 109.0 (64-bit)
OS: Windows 11
URL:

The default spacing for masonry gallery shows 0. The code shows this as

.bricks-layout-wrapper {
    --gutter: 0;
}

but this does not work in Chrome or Firefox unless it is has px after the 0. This breaks the layout and makes it appear, by default, that the masonry gallery does not work.

.bricks-layout-wrapper {
    --gutter: 0px;
}

Workaround: Set spacing to 0 in bricks and that ads px after it.

Hi,
Thanks so much for your report!

I was able to reproduce the issue and added it to our bug tracker.

Best regards,
timmse

Hey,
We’ve fixed this (and another image gallery) bug in Bricks 1.7 beta, now available as a manual download in your Bricks account: Account – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse

Bricks: 1.9.7.1
Browser:
Chrome (123.0.6312.59) official build, arm 64
Safari 16.2 (18614.3.7.1.5)
Firefox 109.0.1

Hello @timmse . Unfortunately, the gallery still doesn’t work for me. It’s a super simple layout: just one gallery in masonry layout. Nor repeater, no nested tabs. just a Section with a container with a block witch a Gallery. Nothing is displayed in the backend, and in the frontend, the images overlap. Is there a solution for this by now? I would really prefer not to buy any addons just to compensate for this bug. It would be a great help if you could publish a fix soon.

Same here:

Hi agkusdfzga,

its an old ticket… Did you find any solution for this?

Hi @agkusdfzga & @beamkiller ,
A fix for the current masonry issue will be implemented in the next version, see: WIP: Masonry not working while used in repeated gallery - #8 by timmse