mirror of
https://github.com/rjNemo/football-summaries
synced 2026-06-06 02:16:43 +00:00
style: size cards
This commit is contained in:
parent
18235f577f
commit
c90842bede
2 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
))}
|
||||
|
|
|
|||
Loading…
Reference in a new issue