Added some margin to home page card grid

This commit is contained in:
qt-coder 2021-06-25 08:07:36 +08:00
parent 5eafb64efd
commit c857c40fbd
3 changed files with 74 additions and 73 deletions

View file

@ -4,7 +4,7 @@ import Link from 'next/link'
const useStyles = makeStyles({ const useStyles = makeStyles({
homeCard: { homeCard: {
width: '350px', width: '300px',
height: '150px', height: '150px',
background: '#1f1b24', background: '#1f1b24',
margin: '10px', margin: '10px',

View file

@ -40,6 +40,7 @@ a {
} }
.grid { .grid {
margin: 50px;
margin-top: 50px; margin-top: 50px;
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, 350px); grid-template-columns: repeat(auto-fill, 350px);