game styles alignment

This commit is contained in:
ntr
2019-05-31 16:41:59 +10:00
parent e8d9075dfd
commit 204ebe00e8
2 changed files with 11 additions and 3 deletions
+3 -2
View File
@@ -55,7 +55,7 @@ function GameConstruct(props) {
const ko = construct.green_life.value === 0 ? 'ko' : '';
const classes = eventClasses(resolution, construct);
const stats = ['RedLife', 'GreenLife', 'BlueLife'].map((s, j) => (
<div key={j} alt={STATS[s].stat}>
{shapes[s]()}
@@ -67,7 +67,7 @@ function GameConstruct(props) {
const skills = range(0, 3)
.map(i => <SkillBtn key={i} construct={construct} i={i} />);
let crypSkills = <div> &nbsp; </div>;
if (player) crypSkills = (<div className="skills"> {skills} </div>);
@@ -109,6 +109,7 @@ function GameConstruct(props) {
{combatTextEl}
</figure>
<div className="effects"> {effects} </div>
<div className="spacer"></div>
</div>
);
}