mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
change join game modal z-index, remove auto-focus
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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%);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user