mirror of
https://github.com/AlecM33/Werewolf.git
synced 2026-01-02 01:03:24 +01:00
progress on new lobby
This commit is contained in:
@@ -7,7 +7,7 @@ export const toast = (message, type, positionAtTop = true) => {
|
||||
function buildAndInsertMessageElement (message, type, positionAtTop) {
|
||||
cancelCurrentToast();
|
||||
let backgroundColor;
|
||||
const position = positionAtTop ? 'top:4rem;' : 'bottom: 15px;';
|
||||
const position = positionAtTop ? 'top:4rem;' : 'bottom: 35px;';
|
||||
switch (type) {
|
||||
case 'warning':
|
||||
backgroundColor = '#fff5b1';
|
||||
|
||||
Reference in New Issue
Block a user