This commit is contained in:
ntr 2019-05-15 15:02:38 +10:00
parent 5e48a58c02
commit 92703882ce
6 changed files with 30 additions and 19 deletions

View File

@ -70,8 +70,10 @@
transition-timing-function: ease;
}
.game-cryp .img {
.game-cryp .avatar {
grid-area: avatar;
/*max-height: 50%;*/
height: auto;
}
.game-cryp .stats {

View File

@ -54,7 +54,7 @@ function GamePanel(props) {
const header = (
<div className="top">
<button
className="game-btn instance-btn instance-ui-btn right"
className="instance-btn instance-ui-btn right"
onClick={() => sendGameReady()}>
Ready
</button>
@ -137,6 +137,10 @@ function GamePanel(props) {
<div className="effects">
{effects}
</div>
<div className="avatar">
<div className="targeting">
<div>></div>
</div>
<figure
className="img"
onClick={() => selectSkillTarget(cryp.id)} >
@ -144,6 +148,7 @@ function GamePanel(props) {
{combatTextEl}
</figure>
</div>
</div>
);
}

View File

@ -78,12 +78,17 @@ function GameCryp(props) {
<div className="skills">
{skills}
</div>
<div className="avatar">
<div className="targeting">
<div>></div>
</div>
<figure
className="img"
onClick={() => selectSkillTarget(cryp.id)} >
{crypAvatar(cryp.name)}
{combatTextEl}
</figure>
</div>
<div className="effects">
{effects}
</div>

View File

@ -147,7 +147,6 @@ function Menu(args) {
return (
<section className="menu">
{instanceList()}
{crypList()}
</section>
);
}

View File

@ -312,7 +312,7 @@ function createSocket(events) {
sendAccountCryps();
}
// sendPing();
sendPing();
return true;
});

View File

@ -17,9 +17,9 @@ html, body, main {
-ms-user-select: none;
/* this is the sweet nectar to keep it full page*/
height: 100%;
max-height: 100%;
min-height: 100%;
height: 100vh;
max-height: 100vh;
min-height: 100vh;
/*padding: 0 20%;*/
/* stops inspector going skitz*/