浏览代码

#6005: Canard: Fix regression in featured content (#6006)

Bob Matyas 3 年之前
父节点
当前提交
1012eb4aa0
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      canard/style.css

+ 8 - 0
canard/style.css

@@ -2138,13 +2138,16 @@ body:not(.group-blog) .sticky .entry-summary + .entry-meta > span:nth-of-type(3)
 
 /* Post Thumbnail */
 .post-thumbnail {
+	background: #000;
 	display: block;
+	height: 100%;
 	position: relative;
 	width: 100%;
 }
 .post-thumbnail img {
 	display: block;
 }
+
 a.post-thumbnail:active,
 a.post-thumbnail:focus,
 a.post-thumbnail:hover {
@@ -2172,6 +2175,11 @@ a.post-thumbnail:hover img {
 	transform: translateY(-50%);
 }
 
+.wpnbha .post-thumbnail { 
+	background: none;
+	height: unset;
+}
+
 /* Page Links */
 .page-links {
 	border-top: 1px solid #eee;