This commit is contained in:
ntr 2019-05-15 19:06:26 +10:00
parent 6c4674d00b
commit aca772263a
4 changed files with 11 additions and 5 deletions

View File

@ -273,7 +273,7 @@ CRYP DAMAGE
border-top: 1px solid purple;
}
.img {
.game .img {
position: relative;
height: 100%;
min-width: 200px;

View File

@ -146,7 +146,7 @@
.instance-cryp {
display: grid;
grid-template-columns: auto min-content;
grid-template-columns: 1fr 1fr;
grid-template-rows: min-content auto min-content;
grid-template-areas:
"sp sp"

View File

@ -1,7 +1,7 @@
const toast = require('izitoast');
const cbor = require('borc');
const testGame = require('./test.game');
// const testGame = require('./test.game');
const SOCKET_URL = process.env.NODE_ENV === 'production' ? 'wss://cryps.gg/ws' : 'ws://localhost:40000';
@ -311,7 +311,7 @@ function createSocket(events) {
events.setAccount(account);
sendAccountInstances();
sendAccountCryps();
console.log(testGame);
// console.log(testGame);
events.setGame(testGame(account.id));
clearGameStateTimeout();
}

View File

@ -541,4 +541,10 @@ section .top {
display: flex;
flex-flow: column;
flex: 1;
}
}
@media (max-width: 1500px) {
.cryps {
font-size: 75%;
}
}