move toast to top of screen, fix button height

This commit is contained in:
AlecM33
2022-12-17 15:18:05 -05:00
parent 3b37585640
commit 6b81e4616a
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -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 {