Skip to content

Commit

Permalink
fix (theme): block vertical spacing editor selector
Browse files Browse the repository at this point in the history
  • Loading branch information
n-langle committed Jan 10, 2025
1 parent c8b7bb6 commit 3649a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scss/02-tools/_m-block-vertical-spacing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
*/
@mixin block-vertical-spacing($type : margin, $spacing : var(--spacing--block-3)) {
#{context-selector(".blocks-container > &", ".is-root-container &")} {
#{context-selector(".blocks-container > &", ".is-root-container > &, .is-root-container > .wp-block[data-align] > &, .is-root-container > .acf-block-preview > &, .is-root-container > .wp-block[data-align] > .acf-block-preview > &")} {
#{$type}-top: $spacing;
#{$type}-bottom: $spacing;

Expand Down

0 comments on commit 3649a60

Please sign in to comment.