2024-03-31 23:06:26 +02:00
|
|
|
{{- $cols := .Get "cols" | default 3 -}}
|
|
|
|
{{- $style := .Get "style" | default "" -}}
|
|
|
|
|
|
|
|
{{- $css := printf "--hextra-feature-grid-cols: %v; %s" $cols $style -}}
|
2023-09-26 08:15:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
<div
|
2024-03-31 23:06:26 +02:00
|
|
|
class="hextra-feature-grid hx-grid sm:max-lg:hx-grid-cols-2 max-sm:hx-grid-cols-1 hx-gap-4 hx-w-full not-prose"
|
|
|
|
{{ with $css }}style="{{ . | safeCSS }}"{{ end }}
|
2023-09-26 08:15:31 +01:00
|
|
|
>
|
|
|
|
{{ .Inner }}
|
|
|
|
</div>
|