diff --git a/packages/block-editor/src/components/block-inspector/style.scss b/packages/block-editor/src/components/block-inspector/style.scss index 92a9a0dd03ab3..abca451035fde 100644 --- a/packages/block-editor/src/components/block-inspector/style.scss +++ b/packages/block-editor/src/components/block-inspector/style.scss @@ -17,6 +17,7 @@ } // Reset unwanted margin-bottom from being applied to BaseControls within certain components. + .block-editor-inspector-controls__no-base-control-margin, .components-focal-point-picker-control, .components-query-controls, .components-range-control { diff --git a/packages/block-editor/src/components/inspector-controls/fill.js b/packages/block-editor/src/components/inspector-controls/fill.js index 456b33af9137f..3c8886f92159c 100644 --- a/packages/block-editor/src/components/inspector-controls/fill.js +++ b/packages/block-editor/src/components/inspector-controls/fill.js @@ -22,6 +22,7 @@ export default function InspectorControlsFill( { children, group = 'default', __experimentalGroup, + __nextNoBaseControlMargin = false, resetAllFilter, } ) { if ( __experimentalGroup ) { @@ -53,7 +54,15 @@ export default function InspectorControlsFill( { return ( + { children } + + ) : ( + children + ) + } resetAllFilter={ resetAllFilter } /> ); diff --git a/packages/block-library/src/editor.scss b/packages/block-library/src/editor.scss index 0669a082b1086..52f3aa64287fa 100644 --- a/packages/block-library/src/editor.scss +++ b/packages/block-library/src/editor.scss @@ -31,7 +31,6 @@ @import "./nextpage/editor.scss"; @import "./page-list/editor.scss"; @import "./paragraph/editor.scss"; -@import "./post-author/editor.scss"; @import "./post-excerpt/editor.scss"; @import "./pullquote/editor.scss"; @import "./rss/editor.scss"; diff --git a/packages/block-library/src/post-author/edit.js b/packages/block-library/src/post-author/edit.js index 6186b0d052e8a..c0c9934994ffe 100644 --- a/packages/block-library/src/post-author/edit.js +++ b/packages/block-library/src/post-author/edit.js @@ -99,12 +99,9 @@ function PostAuthorEdit( { return ( <> - + - + { showAuthorControl && ( ( showCombobox && (