diff --git a/client/cryps.css b/client/cryps.css index 3c34a52f..16d1f247 100644 --- a/client/cryps.css +++ b/client/cryps.css @@ -655,21 +655,22 @@ table td svg { transition-timing-function: ease; } -.game-cryp figure { +.game-cryp .img { text-align: center; + flex: 1 0 25%; } .game-cryp .stats { - flex: 1 0 20%; display: flex; - flex-flow: row wrap; + flex: 1 0 20%; + flex-flow: column; } .stats figure { - flex: 1 1 100%; + width: 100%; border: 0; - align-items: center; padding: 0.5em 0 0 0; + text-align: center; } .stats figcaption { @@ -679,17 +680,18 @@ table td svg { .game-cryp .skills { display: flex; flex-flow: row wrap; - flex: 1 1 50%; + flex: 1 0 25%; height: 100%; } -.resolving .skills button { - display: none; -} - .game-cryp .effects { max-height: 100%; font-size: 1.5em; + flex: 1; +} + +.resolving .skills button { + display: none; } .instance-cryp button, .info-cryp button { @@ -785,15 +787,6 @@ table td svg { padding: 0; } -.team-opponent { - padding: 0; - align-items: flex-end; -} - -.team-opponent .stats { - order: 5; -} - .stack-line { display: flex; align-items: center; diff --git a/client/src/components/game.component.jsx b/client/src/components/game.component.jsx index 2b572aef..59cc972e 100644 --- a/client/src/components/game.component.jsx +++ b/client/src/components/game.component.jsx @@ -99,28 +99,6 @@ function GamePanel(props) { ); - function stackElement(c, i) { - let skills = game.stack.filter(s => s.source_cryp_id === c.id).map((s, j) => { - const target = findCryp(s.target_cryp_id); - return ( -