fix team avatars
This commit is contained in:
@@ -93,7 +93,7 @@ const GroupMatchCard: React.FC<GroupMatchCardProps> = ({ match, showControls })
|
||||
<Stack gap="sm">
|
||||
<Group justify="space-between" align="center" wrap="nowrap">
|
||||
<Group gap="sm" style={{ flex: 1, minWidth: 0 }}>
|
||||
<TeamAvatar team={match.home} size={32} radius="sm" />
|
||||
<TeamAvatar team={match.home} size={32} radius="sm" isRegional={match.tournament.regional} />
|
||||
<Text
|
||||
size="sm"
|
||||
fw={homeWon ? 700 : 500}
|
||||
@@ -124,7 +124,7 @@ const GroupMatchCard: React.FC<GroupMatchCardProps> = ({ match, showControls })
|
||||
|
||||
<Group justify="space-between" align="center" wrap="nowrap">
|
||||
<Group gap="sm" style={{ flex: 1, minWidth: 0 }}>
|
||||
<TeamAvatar team={match.away} size={32} radius="sm" />
|
||||
<TeamAvatar team={match.away} size={32} radius="sm" isRegional={match.tournament.regional} />
|
||||
<Text
|
||||
size="sm"
|
||||
fw={awayWon ? 700 : 500}
|
||||
|
||||
@@ -334,7 +334,7 @@ const GroupStageView: React.FC<GroupStageViewProps> = ({
|
||||
<Text size="sm" fw={700} c="dimmed" w={24} ta="center">
|
||||
{index + 1}
|
||||
</Text>
|
||||
<TeamAvatar team={standing.team} size={28} radius="sm" />
|
||||
<TeamAvatar team={standing.team} size={28} radius="sm" isRegional={matches[0]?.tournament?.regional} />
|
||||
<Text size="sm" fw={500} style={{ flex: 1 }} lineClamp={1}>
|
||||
{standing.teamName}
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user