Skip to content

Commit

Permalink
add block gap to fix post content margin
Browse files Browse the repository at this point in the history
  • Loading branch information
madhusudhand committed Sep 8, 2022
1 parent 481bfa7 commit 71b168c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pixel/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ a:where(:not(.wp-element-button)) {
}

.taxonomy-category > a:hover {
text-decoration: underline;
text-decoration: underline dotted;
}

.wp-block-pullquote cite {
Expand Down
5 changes: 4 additions & 1 deletion pixel/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@
}
},
"core/post-content": {
"spacing": {
"blockGap": "var(--wp--custom--gap--vertical)"
},
"elements": {
"link": {
":active": {
Expand Down Expand Up @@ -554,7 +557,7 @@
}
},
"spacing": {
"blockGap": "30px",
"blockGap": "var(--wp--custom--gap--vertical)",
"padding": {
"bottom": "var(--wp--custom--spacing--outer)",
"left": "var(--wp--custom--spacing--outer)",
Expand Down

0 comments on commit 71b168c

Please sign in to comment.