Skip to content

Commit 79cb76a

Browse files
Layout::Flex & Layout::Grid - API documentation for gap (HDS-5067) (#2998)
1 parent 4c35209 commit 79cb76a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/layouts/flex/partials/code/component-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<C.Property @name="wrap" @type="boolean" @default="false">
2929
If a `@wrap` parameter is provided, the flex items can wrap onto multiple lines when there is not enough space in the container to fit them all in a single line.
3030
</C.Property>
31-
<C.Property @name="gap" @type="enum|[enum,enum]" @values={{array "4" "8" "12" "16" "24" "32" "48"}}>
31+
<C.Property @name="gap" @type="enum|[enum,enum]" @values={{array "0" "4" "8" "12" "16" "24" "32" "48"}} @default="0">
3232
Use the `@gap` argument to control the spacing between flex items. To differentiate the vertical and horizontal spacing between items when they wrap on multiple rows, provide an array of two values, where the first value refers to the vertical gap between "rows" of items (`row-gap` in CSS), and the second one to the horizontal spacing between "columns" of items (`column-gap` in CSS).
3333
</C.Property>
3434
<C.Property @name="isInline" @type="boolean" @default="false">

website/docs/layouts/grid/partials/code/component-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<br /><br />
2424
<em>Note: we only expose a subset of the values allowed for this property, which cover the most common use cases.</em>
2525
</C.Property>
26-
<C.Property @name="gap" @type="enum" @values={{array "4" "8" "12" "16" "32" "48"}}>
26+
<C.Property @name="gap" @type="enum" @values={{array "0" "4" "8" "12" "16" "32" "48"}} @default="0">
2727
The gap spacing between rows and columns of the grid. Specify as either a single value or array of two values for setting the row and column spacing separately.
2828
</C.Property>
2929
<C.Property @name="...attributes">

0 commit comments

Comments
 (0)