Style: Make qualification result smaller and startnumber bigger
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dorian Zedler 2022-08-10 20:46:13 +02:00
parent 57cd6dd86f
commit 0febe0af9b
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -150,7 +150,7 @@ export default function SpeedFlowchartPage() {
padding: '10px !important',
}}
>
<Grid container spacing={2}>
<Grid container spacing={2} alignItems='center'>
{[
['A', pair.laneA],
['B', pair.laneB],
@ -169,15 +169,22 @@ export default function SpeedFlowchartPage() {
};
return (
<>
<Grid sx={gridItemStyle} xs={1} item>
<Typography sx={textStyle}>
{lane?.participant.results[0].rank}{' '}
<Grid sx={gridItemStyle} xs={0.6} item>
<Typography
sx={{
fontWeight: 'bold',
fontSize: '17px',
color: theme.palette.text.secondary,
}}
>
{lane?.participant.results[0].rank}
</Typography>
</Grid>
<Grid
sx={{ ...gridItemStyle, display: 'flex' }}
xs={8.5}
alignItems='center'
item
>
<Typography
@ -195,8 +202,9 @@ export default function SpeedFlowchartPage() {
<Chip
label={lane?.participant.startNumber}
sx={{
height: '26px',
marginLeft: '10px',
fontWeight: 'bold',
fontSize: '17px',
}}
variant='outlined'
/>