فهرست منبع

docs: share page styles

Jay V 8 ماه پیش
والد
کامیت
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;
+    }
   }
   }
 }
 }