From abee6b36765de479f62702fe28fc7ba93063ebc6 Mon Sep 17 00:00:00 2001 From: "Natalie B." <22222885+espeon@users.noreply.github.com> Date: Sun, 1 Jun 2025 20:49:14 -0500 Subject: [PATCH] preserve whitespace in first table column cells --- js/docs/astro.config.mjs | 1 + js/docs/src/styles/pre-first-table-col.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 js/docs/src/styles/pre-first-table-col.css diff --git a/js/docs/astro.config.mjs b/js/docs/astro.config.mjs index 4a0a4e778..2a9629eb8 100644 --- a/js/docs/astro.config.mjs +++ b/js/docs/astro.config.mjs @@ -13,6 +13,7 @@ export default defineConfig({ "@fontsource/atkinson-hyperlegible-next/400.css", "@fontsource/atkinson-hyperlegible-next/600.css", "./src/styles/custom-font-face.css", + "./src/styles/pre-first-table-col.css", ], social: [ { diff --git a/js/docs/src/styles/pre-first-table-col.css b/js/docs/src/styles/pre-first-table-col.css new file mode 100644 index 000000000..5bf29e266 --- /dev/null +++ b/js/docs/src/styles/pre-first-table-col.css @@ -0,0 +1,4 @@ +table td:first-child, +table th:first-child { + white-space: pre; +} -- 2.51.2