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

Browser zoom breaks layout #783

Open
wouterrutgers opened this issue Nov 6, 2015 · 2 comments
Open

Browser zoom breaks layout #783

wouterrutgers opened this issue Nov 6, 2015 · 2 comments
Labels

Comments

@wouterrutgers
Copy link

I am using Masonry to make 3 columns, this works fine in all browsers. However when I change the zoom level in Safari (tested this on safari 6-9) it puts everything in 1 column. Zoom level doesn't make any difference in other browsers, just safari.

2015-11-06_15-01-19

You can see what happens in the codepen below, it isn't the exact same problem. But it's not making the number of columns as you'd expect.
http://codepen.io/anon/pen/epLwrE

@Arcrammer
Copy link

I can confirm the behaviour is consistent throughout Safari, Chrome, and Firefox.

Are you perhaps doing any math to calculate the column-width?

@desandro desandro added the bug label Feb 3, 2016
@desandro desandro changed the title Safari zoom bug Browser zoom breaks layout Aug 11, 2016
@CartesianDuelist
Copy link

It's a webkit issue, not just Safari. The issue is NOT present on Firefox.

Ivelate pushed a commit to Ivelate/masonry that referenced this issue Feb 16, 2017
… longer breaks when using a zoom level of 67%
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

4 participants