style: size cards

This commit is contained in:
Ruidy Nemausat 2020-08-05 09:30:46 +02:00
parent 18235f577f
commit c90842bede
2 changed files with 3 additions and 2 deletions

View file

@ -2,8 +2,9 @@ import { makeStyles } from "@material-ui/core";
const useStyles = makeStyles({
root: {
maxWidth: 345,
marginTop: "16px",
width: 345,
height: 330,
},
media: {
height: 140,

View file

@ -13,7 +13,7 @@ const MatchList: FC<IGameState> = ({ games, loading }) =>
<Container>
<Grid container justify="center" spacing={3}>
{games.map((game, i) => (
<Grid key={i} item sm={6} md={3}>
<Grid key={i} item sm={6} md={4}>
<MatchItem {...game} id={i} />
</Grid>
))}