mirror of
https://github.com/evroon/bracket.git
synced 2026-05-24 16:41:06 -04:00
Constrain tournament logo width
This commit is contained in:
@@ -14,7 +14,12 @@ function TournamentLogo({ tournamentDataFull }: { tournamentDataFull: Tournament
|
||||
return <Skeleton height={150} radius="xl" mb="xl" />;
|
||||
}
|
||||
return tournamentDataFull.logo_path ? (
|
||||
<Image radius="lg" src={`${getBaseApiUrl()}/static/${tournamentDataFull.logo_path}`} />
|
||||
<Image
|
||||
radius="lg"
|
||||
mt={12}
|
||||
src={`${getBaseApiUrl()}/static/${tournamentDataFull.logo_path}`}
|
||||
style={{ maxWidth: '400px' }}
|
||||
/>
|
||||
) : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user