improve dashboard badges display
This commit is contained in:
parent
cc20217677
commit
e742c0de50
1 changed files with 2 additions and 2 deletions
|
|
@ -31,13 +31,13 @@ export default function Badges({ badges: { obtained, unobtained } }) {
|
|||
return (
|
||||
<>
|
||||
<Grid container spacing={{ xs: 2, md: 3 }} columns={{ xs: 4, sm: 8, md: 12 }}>
|
||||
<Grid item xs={2} sm={4} md={4}>
|
||||
<Grid item xs={4} sm={8} md={12}>
|
||||
<Typography variant='h5'>Obtained Badges</Typography>
|
||||
</Grid>
|
||||
{badgesGrid(obtained)}
|
||||
</Grid>
|
||||
<Grid container spacing={{ xs: 2, md: 3 }} columns={{ xs: 4, sm: 8, md: 12 }}>
|
||||
<Grid item xs={2} sm={4} md={4}>
|
||||
<Grid item xs={4} sm={8} md={12}>
|
||||
<Typography variant='h5'>Unobtained Badges</Typography>
|
||||
</Grid>
|
||||
{badgesGrid(unobtained)}
|
||||
|
|
|
|||
Reference in a new issue