mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
move toast to top of screen, fix button height
This commit is contained in:
@@ -76,7 +76,7 @@ export class Lobby {
|
||||
|
||||
setSocketHandlers () {
|
||||
this.socket.on(globals.EVENT_IDS.PLAYER_JOINED, (player, gameIsFull) => {
|
||||
toast(player.name + ' joined!', 'success', false, true, 'short');
|
||||
toast(player.name + ' joined!', 'success', true, true, 'short');
|
||||
this.stateBucket.currentGameState.people.push(player);
|
||||
this.stateBucket.currentGameState.isFull = gameIsFull;
|
||||
this.populatePlayers();
|
||||
|
||||
@@ -642,6 +642,7 @@ canvas {
|
||||
text-shadow: 0 3px 4px rgb(0 0 0 / 55%);
|
||||
margin: 5px 0 5px 25px;
|
||||
width: 65px;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
#game-link:hover {
|
||||
|
||||
Reference in New Issue
Block a user