Time vertically centered in card

This commit is contained in:
Lucas Patenaude
2024-04-04 21:40:40 -06:00
parent a7205fbea2
commit a9f02ef97f
3 changed files with 7 additions and 1 deletions

View File

@@ -32,9 +32,15 @@
.card-game-information-container {
flex: 30%;
display: flex;
align-items: center;
margin-left: 10px;
}
/* Center the time in game */
#time {
margin: 0;
}
/* Container for each team in card's information */
.team {
display: flex; /* Keeps all items in a row */

View File

@@ -22,7 +22,7 @@
<div class="card-game-information-container">
<!-- Time -->
<div class="score" style="text-align: center;">
<div class="game-info">
<p id="time">{{ minute }}</p>
</div>
</div>