Skip to content

Commit 08d11e4

Browse files
committed
Opponent image match tile fix
1 parent 84f6171 commit 08d11e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/MatchTiles.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ const MatchTiles = ({
124124
<Image
125125
src={opponentLogo || '/images/default-logo.svg'}
126126
alt={`${opponentTeam} logo`}
127-
width={50}
128-
height={50}
127+
layout="fill"
128+
objectFit="contain"
129129
onError={(e) => {
130130
if (e.target.src !== '/images/default-logo.svg') {
131131
e.target.src = '/images/default-logo.svg'

0 commit comments

Comments
 (0)