Skip to content

Commit

Permalink
Theme: Add spacing above headings in post content
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Jan 18, 2023
1 parent 86890db commit 2b7ee51
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions source/wp-content/themes/wporg-parent-2021/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,24 @@
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"core/post-content": {
"elements": {
"h2": {
"spacing": {
"margin": {
"top": "var(--wp--preset--spacing--40)"
}
}
},
"h3": {
"spacing": {
"margin": {
"top": "var(--wp--preset--spacing--30)"
}
}
}
}
},
"core/post-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
Expand Down

0 comments on commit 2b7ee51

Please sign in to comment.