diff --git a/src/scss/06-blocks/core/_columns.scss b/src/scss/06-blocks/core/_columns.scss index 1e385540..4ed82eeb 100644 --- a/src/scss/06-blocks/core/_columns.scss +++ b/src/scss/06-blocks/core/_columns.scss @@ -1,5 +1,6 @@ .wp-block-columns { - @include block-vertical-spacing(); + @include block-vertical-spacing; + gap: get-gutter-width() !important; .wp-block-column { diff --git a/src/scss/06-blocks/core/_group.scss b/src/scss/06-blocks/core/_group.scss index 6bc10536..f2cefe11 100644 --- a/src/scss/06-blocks/core/_group.scss +++ b/src/scss/06-blocks/core/_group.scss @@ -1,31 +1,3 @@ .wp-block-group { - $el: &; - - display: flow-root; - - &--no-inner-margin { - #{$el}__inner-container { - > * { - margin-top: 0; - margin-bottom: 0; - } - } - } - - @include breakpoints(sm, max) { - &--full-mobile { - max-width: 100% !important; - } - } -} - -@include editor-only { - .wp-block-group { - display: flow-root; - - .wp-block-group.has-background > .block-editor-block-list__layout > [data-align="full"] { - width: 100%; - margin: 0; - } - } + @include block-vertical-spacing; }