Styling added to top scorers
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#league-page-body {
|
#league-page-body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100vh;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#league-information-container {
|
#league-information-container {
|
||||||
@@ -53,3 +53,15 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#league-stats-container .container {
|
||||||
|
margin: 0 10px;
|
||||||
|
|
||||||
|
background-color: #eaeaea; /* Example background color */
|
||||||
|
|
||||||
|
border: 1px solid gray;
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
|
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4);
|
||||||
|
/* Add any other styling you need for the league table container */
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,13 +1,5 @@
|
|||||||
#league-table-container {
|
#league-table-container {
|
||||||
|
|
||||||
width: 60%;
|
width: 60%;
|
||||||
background-color: #eaeaea; /* Example background color */
|
|
||||||
|
|
||||||
border: 1px solid gray;
|
|
||||||
border-radius: 8px;
|
|
||||||
|
|
||||||
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4);
|
|
||||||
/* Add any other styling you need for the league table container */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#standings-table {
|
#standings-table {
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#top-scorers-container {
|
#top-scorers-container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
background-color: #dcdcdc; /* Example background color */
|
background-color: #dcdcdc; /* Example background color */
|
||||||
|
width: 40%;
|
||||||
/* Add any other styling you need for the top scorers container */
|
/* Add any other styling you need for the top scorers container */
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,18 +54,21 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Player Name</th>
|
<th>Player Name</th>
|
||||||
<th>Team Name</th>
|
<th>GP</th>
|
||||||
<th>Games Played</th>
|
|
||||||
<th>Goals</th>
|
<th>Goals</th>
|
||||||
|
<th></th>
|
||||||
|
<th>Team Name</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{{#each topScorers.scorers}}
|
{{#each topScorers.scorers}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{player.player_name}}</td>
|
<td>{{player.player_name}}</td>
|
||||||
<td>{{team.team_name}}</td>
|
|
||||||
<td>{{games_played}}</td>
|
<td>{{games_played}}</td>
|
||||||
<td>{{goals}}</td>
|
<td>{{goals}}</td>
|
||||||
|
<td><img src="{{team.team_crest}}" alt="{{table.team_name}} Crest" id="table-logo"></td>
|
||||||
|
<td>{{team.team_name}}</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user