We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee5fefd + 9681433 commit fb7aebeCopy full SHA for fb7aebe
layouts/shortcodes/grid.html
@@ -1,6 +1,6 @@
1
{{ $cols := .Get "cols" | default 3 }}
2
<div
3
- class="not-prose md:grid-cols-{{ math.Max 2 (sub $cols 1) }} lg:grid-cols-{{ $cols }} grid grid-cols-1 gap-4 mb-6"
+ class="not-prose md:grid-cols-{{ math.Max 2 (sub $cols 1) }} xl:grid-cols-{{ $cols }} grid grid-cols-1 gap-4 mb-6"
4
>
5
{{ $items := index .Page.Params (.Get "items" | default "grid") }}
6
{{ range $items }}
0 commit comments