diff --git a/packages/edit-post/src/components/layout/style.scss b/packages/edit-post/src/components/layout/style.scss index 40e49f9df3b355..df4b461807543c 100644 --- a/packages/edit-post/src/components/layout/style.scss +++ b/packages/edit-post/src/components/layout/style.scss @@ -163,17 +163,13 @@ } .edit-post-layout .editor-post-publish-panel__header-publish-button { + justify-content: center; + // Match the size of the Publish... button. - .components-button.is-large { + .components-button { height: 33px; line-height: 32px; } - - // Size the spacer flexibly to allow for different button lengths. - .editor-post-publish-panel__spacer { - display: inline-flex; - flex: 0 1 52px; // This number is approximative to keep the publish button at the same position when opening the panel - } } .edit-post-toggle-publish-panel { diff --git a/packages/editor/src/components/post-publish-panel/index.js b/packages/editor/src/components/post-publish-panel/index.js index 9f5e0e6814e178..b6c5f5612c787c 100644 --- a/packages/editor/src/components/post-publish-panel/index.js +++ b/packages/editor/src/components/post-publish-panel/index.js @@ -75,7 +75,6 @@ export class PostPublishPanel extends Component { ) : (
-
) } - - -