Skip to content

Commit

Permalink
Clean up columns block placeholder padding.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Jul 1, 2019
1 parent ac69599 commit 2ff9a80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/block-library/src/columns/editor.scss
Expand Up @@ -190,4 +190,10 @@ div.block-core-columns.is-vertically-aligned-bottom {
.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].is-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks,
.block-editor-block-list__layout .block-editor-block-list__block[data-type="core/column"].has-child-selected > .block-editor-block-list__block-edit > [data-block] > div > .block-editor-inner-blocks {
padding: $block-padding;

// Negate this padding for the placeholder.
> .components-placeholder {
margin: -$block-padding;
width: calc(100% + #{$block-padding * 2});
}
}

0 comments on commit 2ff9a80

Please sign in to comment.