Skip to content

Commit

Permalink
Minor style tweaks for Assembler (#7989)
Browse files Browse the repository at this point in the history
* Remove auto-applied padding on headings when color is applied.

* Adjust default column blockGap
  • Loading branch information
richtabor authored Aug 8, 2024
1 parent 61d60a2 commit b7eaba2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions assembler/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ blockquote {
text-wrap: balance;
}

/* Remove auto-applied padding on headings when color is applied. */
h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
padding: 0;
}

p {
text-wrap: pretty;
}
Expand Down
4 changes: 2 additions & 2 deletions assembler/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -834,8 +834,8 @@
"core/columns": {
"spacing": {
"blockGap": {
"left": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
"left": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--30)"
}
}
},
Expand Down

0 comments on commit b7eaba2

Please sign in to comment.