diff --git a/client/components/game/LeaderBoard.tsx b/client/components/game/LeaderBoard.tsx index 4a35e8f..b4a93d5 100644 --- a/client/components/game/LeaderBoard.tsx +++ b/client/components/game/LeaderBoard.tsx @@ -82,15 +82,15 @@ export default function LeaderBoard(props: LeaderBoardProps) { ? { xs: '0.6rem', md: '0.8rem' } : { xs: '0.4rem', md: '0.6rem' }, }, - boxShadow: 1 - }} - onClick={() => { - setGameDockExpand(!gameDockExpand); + boxShadow: 1, }} > { + setGameDockExpand(!gameDockExpand); + }} > {warringStatesMode && ( {t('country')} @@ -150,6 +150,9 @@ export default function LeaderBoard(props: LeaderBoardProps) { sx={{ backgroundColor: ColorArr[player.color], }} + onClick={() => { + setGameDockExpand(!gameDockExpand); + }} > {player.username} @@ -159,15 +162,24 @@ export default function LeaderBoard(props: LeaderBoardProps) { padding: '3px', backgroundColor: ColorArr[player.color], }} + onClick={() => { + setGameDockExpand(!gameDockExpand); + }} > )} { + setGameDockExpand(!gameDockExpand); + }} > {player.armyCount} { + setGameDockExpand(!gameDockExpand); + }} > {player.landsCount}