thomaspark / gridgarden

A game for learning CSS grid layout 🥕
https://cssgridgarden.com
MIT License
3.19k stars 300 forks source link

Level 24 breaks on some screen sizes #156

Open eden-omb opened 2 years ago

eden-omb commented 2 years ago

I don't know why, but it won't accept the correct answer on my screen size 1885x913. If I have devtools open such that the viewport size changes, it works just fine after I trigger a solution evaluation by adding a space, but not on the default viewport. There's also a visible misalignment between the overlay grid and the underlying grid.

thomaspark commented 2 years ago

Hey @eden-omb, thanks for the bug report. There may be some kind of rounding error that pops up a certain resolution.

I tried 1885x913 and wasn't able to replicate it. There might be some other condition that triggers it:

Screen Shot 2021-12-06 at 1 38 18 PM