浏览代码

break long code strings

Heydon Pickering 8 年之前
父节点
当前提交
b60e134014
共有 3 个文件被更改,包括 8 次插入0 次删除
  1. 4 0
      docs/css/styles.css
  2. 0 0
      docs/service-worker.js
  3. 4 0
      themes/infusion/static/css/styles.css

+ 4 - 0
docs/css/styles.css

@@ -433,6 +433,7 @@ main {
     display: block;
     display: block;
     counter-reset: fig;
     counter-reset: fig;
     min-height: 100vh;
     min-height: 100vh;
+    overflow: hidden;
 }
 }
 figcaption::before {
 figcaption::before {
     counter-increment: fig;
     counter-increment: fig;
@@ -799,6 +800,9 @@ h1 svg {
     [aria-expanded="true"] + #patterns-list {
     [aria-expanded="true"] + #patterns-list {
         display: block;
         display: block;
     }
     }
+    code {
+      word-break: break-all;
+    }
     .tested th,
     .tested th,
     .tested td {
     .tested td {
         display: block;
         display: block;

文件差异内容过多而无法显示
+ 0 - 0
docs/service-worker.js


+ 4 - 0
themes/infusion/static/css/styles.css

@@ -433,6 +433,7 @@ main {
     display: block;
     display: block;
     counter-reset: fig;
     counter-reset: fig;
     min-height: 100vh;
     min-height: 100vh;
+    overflow: hidden;
 }
 }
 figcaption::before {
 figcaption::before {
     counter-increment: fig;
     counter-increment: fig;
@@ -799,6 +800,9 @@ h1 svg {
     [aria-expanded="true"] + #patterns-list {
     [aria-expanded="true"] + #patterns-list {
         display: block;
         display: block;
     }
     }
+    code {
+      word-break: break-all;
+    }
     .tested th,
     .tested th,
     .tested td {
     .tested td {
         display: block;
         display: block;

部分文件因为文件数量过多而无法显示