Skip to content

Commit cc0241c

Browse files
Apply suggestions from code review
Co-authored-by: Cristiano Rastelli <cristiano.rastelli@hashicorp.com>
1 parent b7cc33b commit cc0241c

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

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

+6-5
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ At the specified column min width, columns are forced to stack in this narrower
181181

182182
Use the `@align` argument to align grid items to the "start", "end", "center" or "stretch" them within the grid parent.
183183

184-
Note: The `Grid` parent will need a height set for the affect to be visible.
184+
Note: The `Grid` parent will need a height set for the effect to be visible.
185185

186186
```handlebars
187187
<div class="doc-grid-mobile-view">
@@ -296,11 +296,12 @@ Wrap content with a `Grid::Item` as needed to achieve more complex layouts.
296296
<Hds::Layout::Grid @columnMinWidth="33.33%" @gap="24" as |LG|>
297297
<LG.Item @colspan={{2}}>
298298
<Hds::Card::Container @level="mid" @hasBorder={{true}} {{style padding="24px"}} {{style background="radial-gradient(151.34% 168.34% at 0 0,#f6f9ff 0,#ebf2ff 100%)" }}>
299-
<Hds::Layout::Grid @columnMinWidth="100%" @gap="16">
300-
<div>
299+
<Hds::Layout::Grid @columnMinWidth="100%" @gap="16" as |LG|>
300+
<LG.Item>
301301
<Hds::Badge @text="In Preview" @type="outlined" @color="highlight" />
302-
<Hds::Text::Display @tag="h2" @size="300" @weight="bold">Better together</Hds::Text::Display>
303-
</div>
302+
</LG.Item>
303+
<Hds::Text::Display @tag="h2" @size="300" @weight="bold">Better together</Hds::Text::Display>
304+
304305
<Hds::Text::Body @tag="p" @weight="semibold">
305306
HCP Terraform now works together with HCP Vault Secrets.
306307
</Hds::Text::Body>
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
## 4.19.0
2-
3-
TODO

0 commit comments

Comments
 (0)