kombai / freewall

Freewall is a cross-browser and responsive jQuery plugin to help you create grid, image and masonry layouts for desktop, mobile, and tablet...
MIT License
1.85k stars 375 forks source link

Positioning of tiles broken in specific width #250

Open BigAndini opened 6 years ago

BigAndini commented 6 years ago

Hello,

thank you for this great tool. It's looking really great. At the moment I'm working on a page where different productions of a theater are displayed. The url where we build this page is http://zs1-a.srv.sixhop.net/produktionen/, you can assess it with user: freewall, password: freewall. The sorting is

after that

When I view the page in chome and turn on the inspector I'm able to shrink the window size to 949px where the problem appears. The two small tiles of the "after that" part move to the right and from then on all other tiles move to wrong positions. It's not only one width, where this happens, at 927px again, 899px, 869px, 851px, 835px and so on.

So can you tell me if that's a rounding error? For me it looks like the big left tile is one pixel larger than the wide right tile and the two small tiles below, which results in 1px free space on the right side, so the module starts putting the next tiles to the right side whereas the left side stays free.

It would be really great if you could have a look at this page and tell me if there is a rounding problem that can be fixed or if the error is not within freewall.

Cheers Andi