Skip to content

Commit 3649a60

Browse files
committed
fix (theme): block vertical spacing editor selector
1 parent c8b7bb6 commit 3649a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scss/02-tools/_m-block-vertical-spacing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
*/
2424
@mixin block-vertical-spacing($type : margin, $spacing : var(--spacing--block-3)) {
25-
#{context-selector(".blocks-container > &", ".is-root-container &")} {
25+
#{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 > &")} {
2626
#{$type}-top: $spacing;
2727
#{$type}-bottom: $spacing;
2828

0 commit comments

Comments
 (0)