tweak restart button styling

This commit is contained in:
AlecM33
2022-07-05 22:54:44 -04:00
parent 1f30e649c9
commit 4f75efd447
2 changed files with 3 additions and 1 deletions

View File

@@ -301,7 +301,7 @@ export class GameStateRenderer {
restartGameContainer.innerHTML = HTMLFragments.RESTART_GAME_BUTTON;
const button = restartGameContainer.querySelector('#restart-game');
button.addEventListener('click', this.restartGameHandler);
document.getElementById('end-of-game-buttons').appendChild(restartGameContainer);
document.getElementById('end-of-game-buttons').prepend(restartGameContainer);
}
this.renderPlayersWithNoRoleInformationUnlessRevealed();
}