diff --git a/client/src/modules/GameStateRenderer.js b/client/src/modules/GameStateRenderer.js index 9307f96..c010a36 100644 --- a/client/src/modules/GameStateRenderer.js +++ b/client/src/modules/GameStateRenderer.js @@ -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(); } diff --git a/client/src/styles/game.css b/client/src/styles/game.css index 4d6708c..dbbe2d9 100644 --- a/client/src/styles/game.css +++ b/client/src/styles/game.css @@ -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 {