kevin-shannon / sudoku

1 stars 1 forks source link

Board squeeze on mobile #4

Closed tannerkrewson closed 4 years ago

tannerkrewson commented 4 years ago

It looks normal whenever I open it on my phone, but when I tap on a box to enter a number, the keyboard opens, and the width of the grid gets a bit smaller. Lmao might be hard to diagnose this one

kevin-shannon commented 4 years ago

I noticed this too, tried to fix it in the last commit but failed.... i'll look more into it.

tannerkrewson commented 4 years ago

i think the issue is that the number inputs have some kind of minimum height, and if you try and make their container smaller, they just won't let it. so, the height applied to the table is not being used

kevin-shannon commented 4 years ago

yeah, i think it's the font size that's minimizing the height of the input which is fixed off starting tr height, if it updates font size on event or doesn't resize grid when the keyboard pops up, that should fix it.

kevin-shannon commented 4 years ago

054aae11245f8717cabd477c86848d769f1c8549