X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=282a3716b74e6188504c62360a783cd20e6fdffb;hp=d62e2ca77677a8b7ae4d33dd3552c5d8874e771a;hb=f3fe29d815458e9bfca2295d16b1f6221040eb10;hpb=3ecfb65d520b9d64a59e46a3a2c286b031ee1c26 diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index d62e2ca7..282a3716 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1183,6 +1183,8 @@ export default { position: position, orientation: V.CanFlip ? this.game.mycolor : "w" }); + document.querySelector("#confirmDiv > .card").style.width = + boardDiv.offsetWidth + "px"; } else { // Incomplete information: just ask confirmation // Hide the board, because otherwise it could reveal infos