Просмотр исходного кода

Blockbase: fix font-size in Comments Title Block (#6321)

* Update theme.json

* Update comments.php
marceloaof 3 лет назад
Родитель
Сommit
3aefd47393
2 измененных файлов с 2 добавлено и 7 удалено
  1. 2 2
      blockbase/patterns/comments.php
  2. 0 5
      blockbase/theme.json

+ 2 - 2
blockbase/patterns/comments.php

@@ -8,7 +8,7 @@
 ?>
 <!-- wp:comments-query-loop -->
 <div class="wp-block-comments-query-loop">
-	<!-- wp:comments-title /-->
+	<!-- wp:comments-title {"level":3} /-->
 
 	<!-- wp:comment-template -->
 	<!-- wp:columns -->
@@ -58,4 +58,4 @@
 
 	<!-- wp:post-comments-form /-->
 </div>
-<!-- /wp:comments-query-loop --> 
+<!-- /wp:comments-query-loop --> 

+ 0 - 5
blockbase/theme.json

@@ -634,11 +634,6 @@
 					"textDecoration": "underline"
 				}
 			},
-			"core/comments-title": {
-				"typography": {
-					"fontSize": "var(--wp--preset--font-size--large)"
-				}
-			},
 			"core/comment-content": {
 				"typography": {
 					"fontSize": "var(--wp--custom--post-comment--typography--font-size)",