瀏覽代碼

plugins: add styles for ol tags in markdown

Daniel Lee 8 年之前
父節點
當前提交
29de6387cb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/sass/base/_type.scss

+ 2 - 2
public/sass/base/_type.scss

@@ -296,7 +296,7 @@ a.external-link {
     max-width: 100%;
   }
 
-  ul {
+  ul, ol {
     padding-left: $spacer*1.5;
     margin-bottom: $spacer;
   }
@@ -328,7 +328,7 @@ a.external-link {
     margin-bottom: 0;
   }
 
-  ul:last-child {
+  ul:last-child, ol:last-child {
     margin-bottom: 0;
   }
 }