Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Remove the top margin from the footer template part
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan committed Oct 14, 2024
1 parent 9ce5623 commit d06f380
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/css/editor-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ a {
text-decoration-thickness: 1px !important;
text-underline-offset: .1em;
}

/*
* Remove the top margin from the footer template parts.
* https://github.com/WordPress/gutenberg/issues/47637
*/
footer.wp-block-template-part {
margin-block-start: 0;
}
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
.more-link {
display: block;
}

/*
* Remove the top margin from the footer template parts.
* https://github.com/WordPress/gutenberg/issues/47637
*/
footer.wp-block-template-part {
margin-block-start: 0;
}

0 comments on commit d06f380

Please sign in to comment.