Menu icon Foundation
Block-grid spacing is broken in 5.2.1

I just download 5.2.1 and block-grid-spacing is 20 no matter what number i change it to. I used to have 1px only for block spacing now they are all broken. Anyone have any idea what's going on?

block gridgridblockspacingscss

I just download 5.2.1 and block-grid-spacing is 20 no matter what number i change it to. I used to have 1px only for block spacing now they are all broken. Anyone have any idea what's going on?

Rafi Benkual over 5 years ago

What selector are you targeting to make the change?

samjin over 5 years ago

I report this as a bug to github and has been confirmed. The quick solution is to set $align-block-grid-to-grid: false; so $block-grid-default-spacing: 1px; would work again.

Rafi Benkual over 5 years ago

Looks like Eric fixed this. https://github.com/zurb/foundation/issues/4703 It will be in 5.2.2 or you can target your update to master now. It just needs to be documented.

Seamus Leonard over 5 years ago

Thanks @samjin.