diff --git a/src/client/src/TournamentOverview.js b/src/client/src/TournamentOverview.js
index 83852ad..732b02a 100644
--- a/src/client/src/TournamentOverview.js
+++ b/src/client/src/TournamentOverview.js
@@ -74,25 +74,37 @@ function Match(props){
{/* Team 1 (Winner-status?) (Team name) */}
-
+
{team1Name}
- {/* */}
-
- {/* */}
+ { props.match.winnerId && (props.match.team1Id === props.match.winnerId) &&
+
+ }
+ { props.match.team1Id !== null &&
+
+ }
+ {/* { props.match.winnerId && (props.match.team1Id === props.match.winnerId) &&
+
+ } */}
{/* Team 2 (Winner-status?) (Team name) */}
-
-
+
+
{team2Name}
- {/* */}
-
- {/* */}
-
+ { props.match.winnerId && (props.match.team2Id === props.match.winnerId) &&
+
+ }
+ { props.match.team2Id !== null &&
+
+ }
+ {/* { props.match.winnerId && (props.match.team2Id === props.match.winnerId) &&
+
+ } */}
+
>
diff --git a/src/client/src/components/tournamentBracket.css b/src/client/src/components/tournamentBracket.css
index b80c01a..844f186 100644
--- a/src/client/src/components/tournamentBracket.css
+++ b/src/client/src/components/tournamentBracket.css
@@ -13,11 +13,11 @@
width:200px;
list-style:none;
padding:0;
+ font-size: 2rem;
}
- .round .spacer{ flex-grow:1; }
+ .round .spacer{ flex-grow:1;}
.round .spacer:first-child,
.round .spacer:last-child{ flex-grow:.5; }
-
.round .game-spacer{
flex-grow:1;
}
@@ -25,15 +25,15 @@
/*
* General Styles
*/
- /* body{
+/* body{
font-family:sans-serif;
- font-size:small;
+ font-size:medium;
padding:10px;
line-height:1.4em;
} */
.teamName{
- max-width: 5vw;
+ max-width: 7.5vw;
overflow: hidden;
word-wrap: none;
}
@@ -44,13 +44,6 @@
.winnerTrophy{
visibility: hidden;
}
- li.game > .removeWinner{
- display: none;
- }
-
- li.game.winner > .removeWinner{
- display:inline-flex;
- }
.teamName.winner{
font-weight:bold;
@@ -67,7 +60,7 @@
li.game-spacer{
border-right:1px solid #aaa;
- min-height:40px;
+ min-height:10vh;
}
li.game-bottom{