Эх сурвалжийг харах

Fixing some layout on the summary page

Kirk Trombley 5 жил өмнө
parent
commit
2e7caf1d6a

+ 3 - 2
client/src/components/screens/PlayerScores/PlayerScores.jsx

@@ -13,19 +13,20 @@ import GameCreationForm from '../../util/GameCreationForm';
 const Container = styled.div`
   display: flex;
   flex-flow: column nowrap;
-  justify-content: space-around;
+  justify-content: space-between;
   align-items: center;
   height: 100%;
 `
 
 const ScoreBoard = styled.div`
+  flex: 2;
   display: flex;
   flex-flow: row wrap;
   justify-content: space-evenly;
   align-items: flex-start;
   align-content: space-around;
   max-width: 80%;
-  margin-top: 10%;
+  margin-top: 2em;
 `
 
 const LowerContainer = styled.div`