Skip to content

Commit ffacb2e

Browse files
HDS-4650 Change colons to periods for sentences introducing code samples
1 parent 8698939 commit ffacb2e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

website/docs/layouts/grid/partials/code/how-to-use.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Wrap content in a `Grid::Item` to prevent it from stretching to fill the grid co
4949

5050
### Tag
5151

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.
5353

5454
```handlebars{data-execute=false}
5555
<Hds::Layout::Grid @tag="ul" as |LG|>
@@ -69,15 +69,15 @@ While, by default, the component renders a `<div>`, we invite consumers to consi
6969

7070
### Gap
7171

72-
To control the spacing between grid items, use the `@gap` argument:
72+
To control the spacing between grid items, use the `@gap` argument.
7373

7474
```handlebars{data-execute=false}
7575
<Hds::Layout::Grid @gap="16">
7676
{{! multiple grid items here, with a gap of 16px between them }}
7777
</Hds::Layout::Grid>
7878
```
7979

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.
8181

8282
```handlebars{data-execute=false}
8383
<Hds::Layout::Grid @wrap={{true}} @gap={{array "16" "48"}}>
@@ -104,7 +104,7 @@ The **pre-defined value(s)** passed to the `@gap` argument **must be string(s)**
104104

105105
#### Non-standard gap values
106106

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).
108108

109109
```handlebars{data-execute=false}
110110
<Hds::Layout::Grid class="doc-grid-demo-custom-grid-column-gap">
@@ -118,7 +118,7 @@ If you absolutely have to use non-standard spacing value(s) for the grid `gap`,
118118

119119
In this case we’re overwriting only the “column” gap value via the custom CSS class.
120120

121-
If the grid items are wrapping on multiple lines, you have to overwrite both the “row” and “column” gap values:
121+
If the grid items are wrapping on multiple lines, you have to overwrite both the “row” and “column” gap values.
122122

123123
```handlebars{data-execute=false}
124124
<Hds::Layout::Grid

0 commit comments

Comments
 (0)