diff --git a/client/src/scripts/join.js b/client/src/scripts/join.js index dfc6d78..cd8a3c0 100644 --- a/client/src/scripts/join.js +++ b/client/src/scripts/join.js @@ -15,7 +15,6 @@ const join = () => { document.getElementById('game-player-count').innerText = decodeURIComponent((new URL(document.location)).searchParams.get('playerCount')) + ' Players'; const form = document.getElementById('join-game-form'); - document.getElementById('player-new-name').focus(); form.onsubmit = joinHandler; } else { window.location = '/not-found?reason=' + encodeURIComponent('invalid-access-code'); diff --git a/client/src/styles/join.css b/client/src/styles/join.css index 53ee789..ddfe421 100644 --- a/client/src/styles/join.css +++ b/client/src/styles/join.css @@ -3,6 +3,7 @@ animation: entrance 0.5s forwards; transform-origin: center; display: block; + z-index: 1 !important; } #player-new-name { @@ -28,6 +29,5 @@ } 100% { opacity: 1; - transform: translate(-50%, -50%); } }