diff --git a/packages/edit-post/src/components/sidebar/post-schedule/style.scss b/packages/edit-post/src/components/sidebar/post-schedule/style.scss index e1d6c4cd09f950..95b7ddeff6c08d 100644 --- a/packages/edit-post/src/components/sidebar/post-schedule/style.scss +++ b/packages/edit-post/src/components/sidebar/post-schedule/style.scss @@ -7,13 +7,14 @@ display: block; width: 45%; flex-shrink: 0; + // Match padding on tertiary buttons for alignment. + padding: $grid-unit-15 * 0.5 0; } } .components-button.edit-post-post-schedule__toggle { text-align: left; white-space: normal; - height: auto; // This span is added by the Popover in Tooltip when no anchor is // provided. We set its width to 0 so that it does not cause the button text diff --git a/packages/edit-post/src/components/sidebar/post-status/index.js b/packages/edit-post/src/components/sidebar/post-status/index.js index 7470cf76ce7ddf..004664941a4b6f 100644 --- a/packages/edit-post/src/components/sidebar/post-status/index.js +++ b/packages/edit-post/src/components/sidebar/post-status/index.js @@ -40,8 +40,8 @@ function PostStatus( { isOpened, onTogglePanel } ) { <> - + diff --git a/packages/edit-post/src/components/sidebar/post-template/style.scss b/packages/edit-post/src/components/sidebar/post-template/style.scss index 0cff4fdd96c22e..caafabbe4227cc 100644 --- a/packages/edit-post/src/components/sidebar/post-template/style.scss +++ b/packages/edit-post/src/components/sidebar/post-template/style.scss @@ -5,6 +5,8 @@ span { display: block; width: 45%; + // Match padding on tertiary buttons for alignment. + padding: $grid-unit-15 * 0.5 0; } } diff --git a/packages/edit-post/src/components/sidebar/post-url/style.scss b/packages/edit-post/src/components/sidebar/post-url/style.scss index dbe6d983efc64e..73a93d477df588 100644 --- a/packages/edit-post/src/components/sidebar/post-url/style.scss +++ b/packages/edit-post/src/components/sidebar/post-url/style.scss @@ -1,11 +1,14 @@ .edit-post-post-url { width: 100%; justify-content: flex-start; + align-items: flex-start; span { display: block; width: 45%; flex-shrink: 0; + // Match padding on tertiary buttons for alignment. + padding: $grid-unit-15 * 0.5 0; } } diff --git a/packages/edit-post/src/components/sidebar/post-visibility/style.scss b/packages/edit-post/src/components/sidebar/post-visibility/style.scss index 82c89688fca757..d578905a482ac1 100644 --- a/packages/edit-post/src/components/sidebar/post-visibility/style.scss +++ b/packages/edit-post/src/components/sidebar/post-visibility/style.scss @@ -5,6 +5,8 @@ span { display: block; width: 45%; + // Match padding on tertiary buttons for alignment. + padding: $grid-unit-15 * 0.5 0; } }