Преглед на файлове

fixed nesting ul files issue

Heydon Pickering преди 8 години
родител
ревизия
db59e0a845
променени са 5 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 2 0
      content/patterns/coding/file-trees.md
  2. 1 1
      docs/css/styles.css
  3. 2 0
      docs/patterns/coding/file-trees/index.html
  4. 0 0
      docs/service-worker.js
  5. 1 1
      themes/infusion/static/css/styles.css

+ 2 - 0
content/patterns/coding/file-trees.md

@@ -40,6 +40,8 @@ This is drawn in the following fashion, but preserves the underlying nested list
         * Level 3 file
         * Level 3 file
         * Level 3 file
+    * Level 2 file
+* Level 1 file
 {{% /fileTree %}}
 
 {{% warning %}}

+ 1 - 1
docs/css/styles.css

@@ -638,7 +638,7 @@ pre[class*=language-] code * {
   overflow: hidden;
 }
 
-.file-tree li:not(:last-child) ul::before {
+.file-tree li:not(:last-child) > ul::before {
   content: '\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020';
   position: absolute;
   left: 0;

+ 2 - 0
docs/patterns/coding/file-trees/index.html

@@ -333,7 +333,9 @@
 <li>Level 3 file</li>
 <li>Level 3 file</li>
 </ul></li>
+<li>Level 2 file</li>
 </ul></li>
+<li>Level 1 file</li>
 </ul>
 
 </div>

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
docs/service-worker.js


+ 1 - 1
themes/infusion/static/css/styles.css

@@ -638,7 +638,7 @@ pre[class*=language-] code * {
   overflow: hidden;
 }
 
-.file-tree li:not(:last-child) ul::before {
+.file-tree li:not(:last-child) > ul::before {
   content: '\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020';
   position: absolute;
   left: 0;

Някои файлове не бяха показани, защото твърде много файлове са промени