Skip to content

Commit

Permalink
Fix issue with buttons spacing in post content
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymcp committed Oct 22, 2024
1 parent 4d54fd4 commit 6407d3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions private/src/styles/blocks/button/_spacing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@
.rtl .wp-block-buttons .wp-block-button:last-child {
margin-right: 8px;
}

.wp-block-post-content > .wp-block-buttons {
margin-top: var(--wp--preset--spacing--single);
margin-bottom: var(--wp--preset--spacing--single);
}

0 comments on commit 6407d3c

Please sign in to comment.