Skip to content

Commit 39fea70

Browse files
Add a single-parameter gutter example
1 parent d7f5b57 commit 39fea70

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

layouts/shortcodes/grid.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,28 @@
118118

119119
{{< /grid >}}
120120

121+
Here's a grid with gutters. A single value applies to all breakpoints.
122+
123+
{{< grid columns="1 2 3 4" gutter="1" >}}
124+
125+
[[item]]
126+
type = 'card'
127+
body = 'Tight spacing'
128+
129+
[[item]]
130+
type = 'card'
131+
body = 'Tight spacing'
132+
133+
[[item]]
134+
type = 'card'
135+
body = 'Tight spacing'
136+
137+
[[item]]
138+
type = 'card'
139+
body = 'Tight spacing'
140+
141+
{{< /grid >}}
142+
121143
*/}}
122144

123145
{{- $items := "" -}}

0 commit comments

Comments
 (0)