Explorar o código

docs: share page styles

Jay V hai 1 ano
pai
achega
9d7cfda9fe
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;
+    }
   }
 }