material ui - adding margin-top to Grid

 We can easily add some spacing to our grid by using the following:

<Grid
        container
        spacing={0}
        alignItems="center"
        justifyContent="center"
        sx={{ minHeight: '20vh', marginTop: 10 }}
        >

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm