Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

fix spacing in query-loop and post-title size in single/post templates #191

Merged
merged 4 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h2 class="alignwide" style="margin-top:var(--wp--preset--spacing--60);margin-bo
<div class="wp-block-query alignwide">
<!-- wp:post-template {"align":"wide"} -->
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
<!-- wp:post-title {"level":3,"isLink":true} /-->
<!-- wp:post-title {"level":4,"isLink":true} /-->
madhusudhand marked this conversation as resolved.
Show resolved Hide resolved
<!-- wp:post-excerpt /-->
<!-- wp:post-date {"format":"F j, Y","isLink":true} /-->

Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="wp-block-query alignwide">
<!-- wp:post-template {"align":"wide"} -->
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
<!-- wp:post-title {"isLink":true,"align":"wide"} /-->
<!-- wp:post-title {"level":4,"isLink":true,"align":"wide"} /-->
<!-- wp:post-excerpt /-->
<!-- wp:post-date {"format":"F j, Y","isLink":true} /-->

Expand Down
2 changes: 1 addition & 1 deletion templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<main class="wp-block-group">
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
<!-- wp:post-title {"level":2,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
madhusudhand marked this conversation as resolved.
Show resolved Hide resolved
</div>
<!-- /wp:group -->

Expand Down
2 changes: 1 addition & 1 deletion templates/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<main class="wp-block-group">
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
<!-- wp:post-title {"level":2,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
madhusudhand marked this conversation as resolved.
Show resolved Hide resolved
</div>
<!-- /wp:group -->

Expand Down
4 changes: 2 additions & 2 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@
"core/post-title": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
"bottom": "var(--wp--preset--spacing--30)",
"top": "var(--wp--preset--spacing--30)"
}
},
"typography": {
Expand Down