game styles alignment
This commit is contained in:
@@ -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> </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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user