i have some struggles with material ui grid size. i want to set fixed grid size at specified breakpoint. For example at xs width is full but at sm width is 200px
<Grid item container direction="row" xs={12}>
<Grid xs={12} sm={can be size 200px?}>Menu</Grid>
<Grid item xs={12} sm>Content</Grid>
</Grid>
i tried to give size with style but it effects sm{12} too. i searched in the stack but cannot find proper answer
2
Answers
Thanks @discovrer. It wasnt what i want but i learned from oyu to write conditions for breakpoints. Here is the working code i ended with.
Try using
Let me know if this works for you.