瀏覽代碼

Merge pull request #137 from wagtail/135-homepage-list-regression

Fix li regression on homepage
Scot Hacker 8 年之前
父節點
當前提交
8818449b6b
共有 1 個文件被更改,包括 7 次插入3 次删除
  1. 7 3
      bakerydemo/static/css/main.css

+ 7 - 3
bakerydemo/static/css/main.css

@@ -909,9 +909,7 @@ span.outline {
   margin-top: 0;
   margin-bottom: 20px;
 }
-.homepage .feature-1 .featured-children li,
-.homepage .feature-2 .featured-children li,
-.homepage .feature-3 .featured-children li {
+.homepage .feature-1 .featured-children li {
   border: 1px solid #ccc;
   border-radius: 3px;
   list-style: none;
@@ -947,6 +945,9 @@ span.outline {
   flex-direction: column;
   margin: 0 auto 20px;
 }
+.homepage .feature-2 .featured-children li {
+  list-style: none;
+}
 .homepage .feature-2 .feature-2-item figure {
   margin-bottom: 0;
 }
@@ -969,6 +970,9 @@ span.outline {
     display: inline-block;
   }
 }
+.homepage .feature-3 .featured-children li {
+  list-style: none;
+}
 .homepage .feature-3 h3 {
   color: #fff;
   font-weight: 300;