Scoreboard spacing updated

This commit is contained in:
Lucas Patenaude
2024-04-03 17:45:30 -06:00
parent 49fd546c44
commit 31b84e44f7
3 changed files with 23 additions and 21 deletions

View File

@@ -2,42 +2,38 @@
display: inline-block; /* Display cards as inline-block to allow them to sit next to each other */
border: 1px solid #ccc;
padding: 10px;
margin: 10px 2px; /* Remove horizontal margin */
margin: 10px 10px; /* Remove horizontal margin */
min-height: 100px;
min-width: 250px;
min-width: 200px;
box-sizing: border-box;
}
/* Add these styles to your existing CSS file or create a new one */
.card-body {
.score-card-body {
display: flex;
width: 100%;
justify-content: center;
align-items: center;
}
.left-side {
width: 70%;
flex: 70%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.right-side {
flex: 30%;
display: flex;
align-items: center;
justify-content: center;
}
.team {
display: flex;
align-items: center;
padding: 5px;
}
.team p {
margin: 5px;
margin-right: 10px; /* Adjust this value to control the space between team name and score */
}
.right-side {
width: 30%;
display: flex;
justify-content: center;
align-items: center;
}
.score p {
margin: 0;
text-align: center;
}