Skip to content

Commit 6e6e801

Browse files
committed
fix double digit display
1 parent 117d5bd commit 6e6e801

3 files changed

Lines changed: 122 additions & 19 deletions

File tree

app/components/DashboardTile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const DashboardTile = ({
108108
fontSize: '0.6em',
109109
top: '-0.3em',
110110
left: '0.9em',
111-
letterSpacing: '1vw'
111+
letterSpacing: '0.05em'
112112
}}
113113
>
114114
{tieScores[index]}

app/components/MatchTiles.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ const MatchTiles = ({
4646

4747
// Render function for scores
4848
const renderScore = (score, index, isPlayer1, tieScores) => {
49+
console.log('Rendering score:', {
50+
score,
51+
index,
52+
isPlayer1,
53+
tieScores
54+
})
4955
const lastSetIndex =
5056
player1FinalScores[2].score == null ? 1 : player1FinalScores.length - 1
5157
const isLastSet = index === lastSetIndex
@@ -77,7 +83,7 @@ const MatchTiles = ({
7783
fontSize: '0.6em',
7884
top: '-0.3em',
7985
left: '0.9em',
80-
letterSpacing: '1vw'
86+
letterSpacing: '0.05em'
8187
}}
8288
>
8389
{tieScores[index]}

package-lock.json

Lines changed: 114 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)