mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
tweak restart button styling
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user