empty equip

This commit is contained in:
ntr
2019-05-21 11:32:44 +10:00
parent 2c532aa7d1
commit 246489c342
4 changed files with 34 additions and 26 deletions
+11
View File
@@ -26,6 +26,7 @@
.opponent {
grid-area: opponent;
transform: perspective(23rem);
}
.opponent .combat-text {
@@ -294,8 +295,18 @@ CRYP DAMAGE
position: relative;
height: 100%;
min-width: 200px;
/*animation: rotate 1s infinite ease-in-out alternate;*/
}
/*@keyframes rotate {
0% {
transform: rotateY(0deg);
}
100% {
transform: rotateY(50deg);
}
}
*/
.resolving .skills button {
display: none;
}
+3
View File
@@ -108,6 +108,9 @@ function Equipment(props) {
} return false;
});
if (skills.every(s => !s)) skills.push(<button disabled={true}>&nbsp;</button>);
if (specs.every(s => !s)) specs.push(<figure key={0}>&nbsp;</figure>);
return (
<div className="equip" >
<div className={skillClass} onClick={e => unequipClick(e)} onMouseOver={e => hoverInfo(e, 'equipSkills')} >