change join game modal z-index, remove auto-focus

This commit is contained in:
AlecM33
2022-06-21 21:10:33 -04:00
parent 0ea2d13323
commit 8395aabc9e
2 changed files with 1 additions and 2 deletions

View File

@@ -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');

View File

@@ -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%);
}
}