diff --git a/client/src/Table.css b/client/src/Table.css index 8659b1c..71debb8 100755 --- a/client/src/Table.css +++ b/client/src/Table.css @@ -13,13 +13,13 @@ display: flex; position: absolute; left: 0; - right: 40vw; + right: 0;/*40vw;*/ bottom: 0; top: 0; justify-content: center; align-items: center; background: rgba(0,0,0,0.5); - z-index: 1000; + z-index: 0;/*1000*/ } .WaitingForPlayer .Title { diff --git a/client/src/Table.js b/client/src/Table.js index 2d70f38..78d0e54 100755 --- a/client/src/Table.js +++ b/client/src/Table.js @@ -900,13 +900,22 @@ class Table extends React.Component { } render() { - const game = this.state.game; + const game = this.state.game, + player = game ? game.player : undefined return (