Skip to content

Masonry fluid sizing with fixed pixel gutter height inconsistency #1103

@sebszocinski

Description

@sebszocinski

Issue: When resizing the window, the height of the stamp compared to two normal blocks with fixed pixel gutter will be inconsistent. Masonry should re-calculate the 10px gutter as a percentage based off the block width.

It's only a few pixels but very frustrating to a designers eye.

You will notice when resizing sometimes the blocks below the stamp (third row) will swap left and right depending on the height of the stamp vs the 4 single blocks next to it.

See demo: http://codepen.io/anon/pen/Wwqroj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions