Skip to content

Commit 5854cd6

Browse files
committed
refactor score text:
1 parent 0fc3ae1 commit 5854cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: services/app/apps/codebattle/assets/js/widgets/pages/game/UserGameScore.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function UserGameScore({ userId }) {
1515
}
1616

1717
const score = results[userId];
18-
const scoreResultClass = cn('ml-2', {
18+
const scoreResultClass = cn('ml-2 text-center', {
1919
'cb-game-score-won': winnerId === userId,
2020
'cb-game-score-lost': winnerId !== null && winnerId !== userId,
2121
'cb-game-score-draw': winnerId === null,

0 commit comments

Comments
 (0)