diff --git a/packages/block-editor/src/components/block-inspector/style.scss b/packages/block-editor/src/components/block-inspector/style.scss index cf7131722722c..bdbf3660d9619 100644 --- a/packages/block-editor/src/components/block-inspector/style.scss +++ b/packages/block-editor/src/components/block-inspector/style.scss @@ -11,10 +11,8 @@ } .components-base-control { - margin-bottom: #{ $grid-unit-30 }; - - &:last-child { - margin-bottom: $grid-unit-10; + &:where(:not(:last-child)) { + margin-bottom: $grid-unit-20; } } diff --git a/packages/block-editor/src/hooks/layout.js b/packages/block-editor/src/hooks/layout.js index 2ea8c5f37c9e7..22d916d7b791b 100644 --- a/packages/block-editor/src/hooks/layout.js +++ b/packages/block-editor/src/hooks/layout.js @@ -233,7 +233,6 @@ function LayoutPanelPure( { <> - { showColumnsControl && ( - - ) } - { showMinWidthControl && ( - - ) } + + { showColumnsControl && ( + + ) } + { showMinWidthControl && ( + + ) } + ); },