WandererXII / lishogi

☗ lishogi.org: the forever free, adless and open source shogi server forked from lichess.org ☗
https://lishogi.org
GNU Affero General Public License v3.0
261 stars 40 forks source link

Board becomes sufficiently smaller in ongoing games on mobile devices #799

Closed Rechefiltr-is-Fire closed 4 months ago

Rechefiltr-is-Fire commented 4 months ago

Puzzles, finished games and studies aren’t affected. Operating system and browser version iPhone SE, Safari 5CE15288-73BA-4344-89B7-1C06475001AE

WandererXII commented 4 months ago

That was on purpose. The idea is to have enough space for board, hands and moves. But I guess it's too small then, I will not reserve space for the moves then.

Rechefiltr-is-Fire commented 4 months ago

Bruh, on mobile device it anyway places hands along players, not sides. So why we resize the board & preserve side spaces which won’t be used?

UPD: though better than was;)

WandererXII commented 4 months ago

Having space on the sides is essentially a side effect of making space on top/bottom:

Example on ipad mini - current implementation with space on the side - everything fits nicely: image But if I don't limit space (allow it to use 100% width) - the board won't fit the screen, the clock and hands also won't fit: image