bigger qrcode, space out mobile navbar links, attempt to fix element flicker

This commit is contained in:
AlecM33
2022-12-30 18:35:56 -05:00
parent 57e4a8a35a
commit 742eae35e0
3 changed files with 4 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ export class Lobby {
gameCode.innerHTML = 'Or enter this code on the homepage: <span>' +
this.stateBucket.currentGameState.accessCode + '</span>';
QRCode.toCanvas(document.getElementById('canvas'), link, { scale: 2 }, function (error) {
QRCode.toCanvas(document.getElementById('canvas'), link, { scale: 3 }, function (error) {
if (error) console.error(error);
});
}

View File

@@ -425,7 +425,7 @@ input {
border-radius: 5px;
padding: 2px 5px;
font-size: 18px;
margin: 0 0.75em;
margin: 1em;
width: fit-content;
}

View File

@@ -457,8 +457,6 @@ label[for='moderator'] {
font-family: 'signika-negative', sans-serif;
font-weight: 100;
box-shadow: 0 -6px 15px rgba(0, 0, 0, 0.5);
left: 0;
right: 0;
bottom: 0;
border-radius: 5px;
/* width: fit-content; */
@@ -467,6 +465,8 @@ label[for='moderator'] {
margin: 0 auto;
max-width: 100%;
background-color: #1b1a24;
transform: translateZ(0);
-webkit-transform: translateZ(0);
}
#game-control-prompt {