masonry icon indicating copy to clipboard operation
masonry copied to clipboard

Browser zoom breaks layout

Open wouterrutgers opened this issue 9 years ago • 2 comments

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

wouterrutgers avatar Nov 06 '15 14:11 wouterrutgers

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

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

Arcrammer avatar Jan 01 '16 12:01 Arcrammer

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

CartesianDuelist avatar Aug 11 '16 19:08 CartesianDuelist