summaryrefslogtreecommitdiff
path: root/layouts/_markup/render-table.html
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
committereltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
commit10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch)
tree62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /layouts/_markup/render-table.html
parent3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff)
chore: move templates out of site repo
Diffstat (limited to 'layouts/_markup/render-table.html')
-rw-r--r--layouts/_markup/render-table.html32
1 files changed, 0 insertions, 32 deletions
diff --git a/layouts/_markup/render-table.html b/layouts/_markup/render-table.html
deleted file mode 100644
index 010942f0..00000000
--- a/layouts/_markup/render-table.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="overflow-x-auto">
- <table class="border-collapse w-max min-w-full table-fixed
- b-t-2 b-t-solid b-t-[var(--border-color)]"
- style="-webkit-overflow-scrolling: touch;">
- {{- if .THead }}
- <thead>
- {{- range .THead }}
- <tr class="b-t-1 b-t-solid b-t-[var(--border-color)]">
- {{- range . }}
- <th
- class="max-w-[200px] py-2 px-4 leading-snug whitespace-normal break-words"
- {{ with .Alignment }} style="text-align:{{ . }}"{{ end }}
- >{{ .Text | safeHTML }}</th>
- {{- end }}
- </tr>
- {{- end }}
- </thead>
- {{- end }}
- <tbody>
- {{- range .TBody }}
- <tr class="b-t-1 b-t-solid b-t-[var(--border-color)]">
- {{- range . }}
- <td
- class="max-w-[200px] py-2 px-4 leading-snug whitespace-normal break-words"
- {{ with .Alignment }} style="text-align:{{ . }}"{{ end }}
- >{{ .Text | safeHTML }}</td>
- {{- end }}
- </tr>
- {{- end }}
- </tbody>
- </table>
-</div>