Browse Source

docs: share page styles

Jay V 8 months ago
parent
commit
9d7cfda9fe
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/web/src/components/codeblock.module.css

+ 4 - 0
packages/web/src/components/codeblock.module.css

@@ -2,6 +2,10 @@
   pre {
     --shiki-dark-bg: var(--sl-color-bg-surface) !important;
     background-color: var(--sl-color-bg-surface) !important;
+
+    span {
+      white-space: break-spaces;
+    }
   }
 }