Skip to content

Commit

Permalink
aesthetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joypan1 committed Mar 27, 2024
1 parent c54fe88 commit b75d408
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions css/matchsummary.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,18 @@

p {
margin-left: 50px;
}

.datatables {
margin-right: 40px;
clear:both;
margin-left:55px;
border: 1px solid black;
border-radius: 10px;
border-collapse: collapse;
margin-bottom:15px;
}

#largedatatable {
text-align: center;
}
4 changes: 2 additions & 2 deletions pages/matchsummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const getTeams = async () => {
<p> Average Teleop Amp Accuracy: ${Math.round(parseFloat(await sumColumnForGlobalId(team.globalid, 'count6')/await sumColumnForGlobalId(team.globalid, 'count5'))*100)}%</p>
<br>
<table style="clear:both; margin-left:55px;border: 1px solid black; border-radius: 10px;border-collapse: collapse;margin-bottom:15px;">
<table class="datatables" id="largedatatable">
<tr>
<td style="border: 1px solid black; border-radius: 10px;border-collapse: collapse;padding:5px">Autonomous Shots Attempted</td>
Expand All @@ -54,7 +54,7 @@ const getTeams = async () => {
</tr>
</table>
<table style="clear:both; margin-left:55px;border: 1px solid black; border-radius: 10px;border-collapse: collapse;margin-bottom:15px;">
<table class="datatables">
<tr>
<td style="border: 1px solid black; border-radius: 10px;border-collapse: collapse;padding:5px">Stage</td>
<td style="border: 1px solid black; border-radius: 10px;border-collapse: collapse;padding:5px">Hangs</td>
Expand Down

0 comments on commit b75d408

Please sign in to comment.