Skip to content

Commit

Permalink
fix(player): fontSize subbox
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed Dec 4, 2023
1 parent 10eb2a6 commit fbbbef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/components/Player/Player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ export const Player = (props: PlayerProps) => {
setState({ ...state, face: state.faceFallback, });
}
};
// console.log("speler", player.name, showPoints && hasStats && player.points !== null && player.points !== undefined && player.points)

console.log("assetsCdn for Player", player.short, state.face);

return (
<PlayerStyle onClick={(e: any) => onPlayerClick(!hasInactiveOverlay)} className={`position_${player.positionId}` && props.className}>
{
Expand Down
4 changes: 3 additions & 1 deletion src/components/Player/PlayerStyle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ export const OpponentBadge = styled.div`
position: absolute;
inset: 100% 0px 0px;
width: 100%;
height: 20px;
font-size: 10px;
height: 15px;
background: ${(props: any) => props.bgColor};
color: white;
Expand All @@ -109,6 +110,7 @@ export const Value = styled.div`
right:0;
width: 100%;
height: 20px;
font-size: 13px;
display: flex;
justify-content: center;
Expand Down

0 comments on commit fbbbef4

Please sign in to comment.