X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=f5eb9a67c889162837f4dd98ebe0d4c60e8d0242;hb=2f258c37c19c5be20ec68695ddfaec2c21f7f0ae;hp=c17ba1ea1181e96c516c480ad7d9eb6cb6cdb495;hpb=1ad003fffabb4c95b9fd2d76a2e7ae1f20302cda;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index c17ba1ea..f5eb9a67 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -121,7 +121,7 @@ export default { if (!boardSize) { boardSize = (window.innerWidth >= 768 - ? Math.min(600, 0.5*window.innerWidth) //heuristic... + ? 0.75 * Math.min(window.innerWidth, window.innerHeight) : window.innerWidth); } const movesWidth = (window.innerWidth >= 768 ? 280 : 0);