I am currently in the process of configuring a component using the Material UI grid system.
This is the code I have included in my component so far:
<Container maxWidth="lg" className={classes.container}>
<Grid container spacing={4}>
<Paper className={classes.paper}>
<Grid item xs={12} lg={6} style={{padding: '10px'}}>
...
...
... (Code continues)
Here is how it looks on desktop:
https://i.sstatic.net/Se5R2.png
The issue that I am facing is getting both grids to align on the same line when in desktop mode. They display correctly on smaller screens, but I'm struggling to make them wrap properly on larger screens. Any suggestions for resolving this problem?