I was wondering how to set the gutter on a Grid container as I couldn't find anything in the documentation.
Is it something I have to implement myself?
I'm new to Material UI and coming from stuff like Bootstrap and Semantic UI. Probably the grid being fluid confuses me. :)
You are looking for the spacing property. We are happy to see you among us :).
Oh, sorry, I wasn't referring to the space between the grid items but to the left/right margins of the container.
@nickdima Oh, you have to set this with CSS.
OK, so I have to handle it myself for every breakpoint.
Thanks!
We haven't designed an abstraction for it. I think that it's not the Grid responsibility to do it. I would rather see a new component. But it would only work if this is something generic enough.
Most helpful comment
Oh, sorry, I wasn't referring to the space between the grid items but to the left/right margins of the container.