You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: website/docs/layouts/grid/partials/code/how-to-use.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ Wrap content in a `Grid::Item` to prevent it from stretching to fill the grid co
49
49
50
50
### Tag
51
51
52
-
To specify the HTML tag used to render the grid container and/or item(s), use the `@tag` argument:
52
+
To specify the HTML tag used to render the grid container and/or item(s), use the `@tag` argument.
53
53
54
54
```handlebars{data-execute=false}
55
55
<Hds::Layout::Grid @tag="ul" as |LG|>
@@ -69,15 +69,15 @@ While, by default, the component renders a `<div>`, we invite consumers to consi
69
69
70
70
### Gap
71
71
72
-
To control the spacing between grid items, use the `@gap` argument:
72
+
To control the spacing between grid items, use the `@gap` argument.
73
73
74
74
```handlebars{data-execute=false}
75
75
<Hds::Layout::Grid @gap="16">
76
76
{{! multiple grid items here, with a gap of 16px between them }}
77
77
</Hds::Layout::Grid>
78
78
```
79
79
80
-
To differentiate the vertical and horizontal spacing between items when they wrap on multiple rows, provide an array of two values to the `@gap` argument:
80
+
To differentiate the vertical and horizontal spacing between items when they wrap on multiple rows, provide an array of two values to the `@gap` argument.
@@ -104,7 +104,7 @@ The **pre-defined value(s)** passed to the `@gap` argument **must be string(s)**
104
104
105
105
#### Non-standard gap values
106
106
107
-
If you absolutely have to use non-standard spacing value(s) for the grid `gap`, you can use the internal `--hds-layout-grid-row-gap` and `--hds-layout-grid-column-gap` CSS variables and pass custom values to them (e.g., via a local CSS variable or an inline style):
107
+
If you absolutely have to use non-standard spacing value(s) for the grid `gap`, you can use the internal `--hds-layout-grid-row-gap` and `--hds-layout-grid-column-gap` CSS variables and pass custom values to them (e.g., via a local CSS variable or an inline style).
0 commit comments