Feature request
When using Grid's spacing attribute it affects equally vertical and horizontal spacing. It would be nice to be able to set them differently.
My use-case is that I use Grids to layout form elements. The TextFields already have the expected vertical spacing so I would like Grid to just provide the horizontal spacing.
I put up a demo showing the spacing in the form use-case: https://codesandbox.io/s/jnjon2oq5
My suggestion is to add another attribute like offSpacing (?) that when specified defines the gap size in off-direction (when direction is row this defines the y-spacing and vice versa). When this attribute is not given spacings are equal.
Your Environment
| Tech |
Version |
| Material-UI |
v1.0.0 |
| React |
16.4.0 |
Feature request
When using
Grid'sspacingattribute it affects equally vertical and horizontal spacing. It would be nice to be able to set them differently.My use-case is that I use Grids to layout form elements. The TextFields already have the expected vertical spacing so I would like Grid to just provide the horizontal spacing.
I put up a demo showing the spacing in the form use-case: https://codesandbox.io/s/jnjon2oq5
My suggestion is to add another attribute like
offSpacing(?) that when specified defines the gap size in off-direction (when direction is row this defines the y-spacing and vice versa). When this attribute is not given spacings are equal.Your Environment