From 8e8ecd63208c134765e91e005b4bc64bd8ad04af Mon Sep 17 00:00:00 2001 From: preethipeie Date: Mon, 21 Jul 2025 13:39:32 +0200 Subject: [PATCH] fixed team grid to be dynamic to view correctly on mobile devices --- layouts/shortcodes/teamgrid.html | 37 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/layouts/shortcodes/teamgrid.html b/layouts/shortcodes/teamgrid.html index 8f37ad8..8c62877 100644 --- a/layouts/shortcodes/teamgrid.html +++ b/layouts/shortcodes/teamgrid.html @@ -1,20 +1,20 @@ + -
{{ range .Page.Params.team }}
- {{ if .image }}
{{ .name }} @@ -69,26 +74,20 @@ {{ else }}
{{ end }} -

{{ if .linkedin }} {{ .name }} {{ else }} {{ .name }} {{ end }} - {{ if .blog }} (blog) {{ end }}

- -

{{ replaceRE `,` ",
" (.role) | safeHTML }}

- {{ if .bio }}

{{ .bio }}

{{ end }} -
{{ end }}