Skip to content

Commit

Permalink
Merge branch 'main' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
maximvl committed Sep 26, 2024
2 parents 4b490ce + eb64b69 commit 6564e61
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions src/pages/map/components/PlayerIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,22 +222,29 @@ export default function PlayerIcon({
/>
<Box
onClick={handleClick}
style={{ cursor: 'pointer', display: 'grid' }}
style={{ cursor: 'pointer', display: 'block', textAlign: 'center' }}
ref={playerElement}
>
<img src={playerIcon} width={'40px'} alt="" />
<span
style={{
fontSize: '12px',
color: 'white',
lineHeight: 1,
backgroundColor: playerColor,
paddingLeft: '5px',
paddingRight: '5px',
}}
>
{player.name}
</span>
<img
src={playerIcon}
width={'40px'}
alt=""
style={{ verticalAlign: 'middle' }}
/>
<p style={{ padding: 0, margin: 0, lineHeight: 1 }}>
<span
style={{
fontSize: '12px',
color: 'white',
lineHeight: 1,
backgroundColor: playerColor,
paddingLeft: '5px',
paddingRight: '5px',
}}
>
{player.name}
</span>
</p>
</Box>
</Box>
</animated.div>
Expand Down

0 comments on commit 6564e61

Please sign in to comment.