소스 검색

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;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.