Skip to content

Commit 2ac78ff

Browse files
authored
Merge pull request #438 from BeAPI/fix/scss-block-vertical-spacing
fix (theme): block vertical spacing editor selector
2 parents 2a640dc + 76cae56 commit 2ac78ff

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-beapi-dynamic-block &, .is-root-container > .wp-block-beapi-manual-block &, .is-root-container > .wp-block[data-align] > .acf-block-preview > &, .is-root-container > .wp-block[data-align] > .wp-block-beapi-dynamic-block &, .is-root-container > .wp-block[data-align] > .wp-block-beapi-manual-block &")} {
2626
#{$type}-top: $spacing;
2727
#{$type}-bottom: $spacing;
2828

0 commit comments

Comments
 (0)