diff --git a/src/components/Player/Player.tsx b/src/components/Player/Player.tsx index 6b88d27..9e17e63 100644 --- a/src/components/Player/Player.tsx +++ b/src/components/Player/Player.tsx @@ -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 ( onPlayerClick(!hasInactiveOverlay)} className={`position_${player.positionId}` && props.className}> { diff --git a/src/components/Player/PlayerStyle.tsx b/src/components/Player/PlayerStyle.tsx index f00e30d..272e78d 100644 --- a/src/components/Player/PlayerStyle.tsx +++ b/src/components/Player/PlayerStyle.tsx @@ -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; @@ -109,6 +110,7 @@ export const Value = styled.div` right:0; width: 100%; height: 20px; + font-size: 13px; display: flex; justify-content: center;