Guidance on vertical grid spacing #1906
-
Hi team. I'm displaying some read-only fields in a form and I would like to use a grid to display them in two columns and six rows. I'm using a combination of grids as suggested in the Grid component documentation, but for some reason it's not rendering the vertical spacing as expected (see image below, there's no space between rows). I'm using this code (labels and inputs removed to make it short): <Box marginBottom="space80">
<Grid gutter="space80" vertical>
<Column>
<Grid gutter="space40">
<Column>
...
</Column>
<Column>
...
</Column>
</Grid>
</Column>
<Column>
<Grid gutter="space40">
<Column>
...
</Column>
<Column>
...
</Column>
</Grid>
</Column>
<Column>
<Grid gutter="space40">
<Column>
...
</Column>
<Column>
...
</Column>
</Grid>
</Column>
</Grid>
</Box> I don't know if I'm doing something wrong or I'm missing something. Any advice would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@arodriguezcortes Hi there 👋 Which version of paste are you using? I just spun up this codesandbox and cannot reproduce this issue. I suspect that this is happening because you are using an older version of Please try updating your version, and if you still experience the issue, provide us with reproduction steps, including the package versions. Thank you! 💯 |
Beta Was this translation helpful? Give feedback.
@arodriguezcortes Hi there 👋
Which version of paste are you using? I just spun up this codesandbox and cannot reproduce this issue.
I suspect that this is happening because you are using an older version of
@twilio-paste/core
(or the grid package specifically), since we resolved this very issue a few months ago.Please try updating your version, and if you still experience the issue, provide us with reproduction steps, including the package versions. Thank you! 💯