diff --git a/packages/editor/src/components/header/index.js b/packages/editor/src/components/header/index.js index 2a5629b080caf8..51c341f2c1bd16 100644 --- a/packages/editor/src/components/header/index.js +++ b/packages/editor/src/components/header/index.js @@ -97,8 +97,10 @@ function Header( { useState( true ); const hasCenter = - ( ! hasBlockSelection || isBlockToolsCollapsed ) && - ! isTooNarrowForDocumentBar; + ! isTooNarrowForDocumentBar && + ( ! hasFixedToolbar || + ( hasFixedToolbar && + ( ! hasBlockSelection || isBlockToolsCollapsed ) ) ); const hasBackButton = useHasBackButton(); /* * The edit-post-header classname is only kept for backward compatability