浏览代码

fix post title typography (#6169)

* fix post title typography

* unset lineHeight for core/post-title and add it to h2 element

Co-authored-by: Matias Benedetto <matias.benedetto@gmail.com>
Madhu Dollu 3 年之前
父节点
当前提交
026c75e537
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      pendant/theme.json

+ 2 - 1
pendant/theme.json

@@ -308,7 +308,8 @@
 				"typography": {
 				"typography": {
 					"fontFamily": "var(--wp--preset--font-family--heading-font)",
 					"fontFamily": "var(--wp--preset--font-family--heading-font)",
 					"fontSize": "clamp(3rem, 6vw, 5rem)",
 					"fontSize": "clamp(3rem, 6vw, 5rem)",
-					"fontWeight": 400
+					"fontWeight": 400,
+					"lineHeight": 1
 				}
 				}
 			},
 			},
 			"h3": {
 			"h3": {