瀏覽代碼

docs: share page styles

Jay V 9 月之前
父節點
當前提交
9d7cfda9fe
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/web/src/components/codeblock.module.css

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

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