From c446fe9590b0a4c5d1442651453b28685ad93239 Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Wed, 14 Jan 2026 06:34:44 +0100
Subject: feat: a lot of shit

---
 src/lib/blog/TableWrapper.svelte | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/lib/blog/TableWrapper.svelte

(limited to 'src/lib/blog/TableWrapper.svelte')

diff --git a/src/lib/blog/TableWrapper.svelte b/src/lib/blog/TableWrapper.svelte
new file mode 100644
index 0000000..ddf3d73
--- /dev/null
+++ b/src/lib/blog/TableWrapper.svelte
@@ -0,0 +1,15 @@
+<script lang="ts">
+  import type { Snippet } from 'svelte';
+
+  const {
+    children,
+    maxwidth = false,
+  }: {
+    children: Snippet;
+    maxwidth?: boolean;
+  } = $props();
+</script>
+
+<div class={{ 'formatted-table my-1': true, 'w-max': !maxwidth }}>
+  {@render children()}
+</div>
-- 
cgit v1.2.3

