improvements

This commit is contained in:
yohlo
2025-09-29 11:43:48 -05:00
parent a4b9fe9065
commit 48aeaabeea
5 changed files with 8 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ export const MatchForm: React.FC<MatchFormProps> = ({
{match.home?.name} Cups
</Text>
{
match.home?.players.map(p => (<Text size='xs' c='dimmed'>
match.home?.players?.map(p => (<Text key={p.id} size='xs' c='dimmed'>
{p.first_name} {p.last_name}
</Text>))
}
@@ -110,7 +110,7 @@ export const MatchForm: React.FC<MatchFormProps> = ({
{match.away?.name} Cups
</Text>
{
match.away?.players.map(p => (<Text size='xs' c='dimmed'>
match.away?.players?.map(p => (<Text key={p.id} size='xs' c='dimmed'>
{p.first_name} {p.last_name}
</Text>))
}

View File

@@ -37,7 +37,7 @@ export const MatchSlot: React.FC<MatchSlotProps> = ({
<Text
size={team.name.length > 12 ? (team.name.length > 18 ? '10px' : '11px') : 'xs'}
truncate
style={{ minWidth: 0, flex: 1 }}
style={{ minWidth: 0, flex: 1, lineHeight: "12px" }}
>
{team.name}
</Text>

View File

@@ -18,7 +18,9 @@ export const SeedBadge: React.FC<SeedBadgeProps> = ({ seed }) => {
color: "var(--mantine-color-text)",
display: "flex",
alignItems: "center",
justifyContent: "center"
justifyContent: "center",
borderTopLeftRadius: "var(--mantine-radius-default)",
borderBottomLeftRadius: "var(--mantine-radius-default)",
}}
>
{seed}