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();
}

View File

@@ -58,6 +58,8 @@
#restart-game {
background-color: #0078D7;
min-width: 10em;
margin-bottom: 1em !important;
animation: shadow-pulse 1.5s infinite ease-out;
}
#play-pause-placeholder {