diff --git a/html-client/cryps.css b/html-client/cryps.css index a70ccdfe..d2c585f5 100755 --- a/html-client/cryps.css +++ b/html-client/cryps.css @@ -373,7 +373,19 @@ header { .game { display: flex; - height: 100%; + flex-flow: row wrap; +} + +.game-back-btn { + flex: 0 0 25%; +} + +.team-player, .team-opponent { + flex: 0 0 37.5%; +} + +.logs { + flex: 25%; } .game-cryp-ctr { diff --git a/html-client/src/components/game.component.jsx b/html-client/src/components/game.component.jsx index 1bf0dab9..0f80e7d2 100644 --- a/html-client/src/components/game.component.jsx +++ b/html-client/src/components/game.component.jsx @@ -125,7 +125,7 @@ function GamePanel(props) { const cryps = team.cryps.map(c => Cryp(c)); return ( -
+
{cryps}
); @@ -173,29 +173,27 @@ function GamePanel(props) { const logs = game.log.map((l, i) => (
{l}
)).reverse(); return ( -
-
-
+
+
+
+
+
 
+
-
-
 
-
-
-
{PlayerTeam(playerTeam, setActiveSkill)} -
+
{otherTeams.map(OpponentTeam)}
-
+
{logs}
-
+ ); }