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; +}