diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-page/index.js b/packages/edit-site/src/components/sidebar-navigation-screen-page/index.js index 5e0c113b3544ad..0c15bc2bd9d570 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-page/index.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-page/index.js @@ -147,7 +147,10 @@ export default function SidebarNavigationScreenPage() { { __( 'Last modified' ) } diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-page/style.scss b/packages/edit-site/src/components/sidebar-navigation-screen-page/style.scss index 6ec9e565f9e8ff..c58e9f09392465 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-page/style.scss +++ b/packages/edit-site/src/components/sidebar-navigation-screen-page/style.scss @@ -61,6 +61,12 @@ } } +.edit-site-sidebar-navigation-screen-page__footer { + padding-top: $grid-unit-10; + padding-bottom: $grid-unit-10; + padding-left: $grid-unit-20; +} + .edit-site-sidebar-navigation-screen-page__details { .edit-site-sidebar-navigation-screen-page__details-label { color: $gray-600; diff --git a/packages/edit-site/src/components/sidebar-navigation-screen/index.js b/packages/edit-site/src/components/sidebar-navigation-screen/index.js index 67e22721e78f0b..026cbaba8e860f 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen/index.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen/index.js @@ -42,74 +42,80 @@ export default function SidebarNavigationScreen( { const theme = getTheme( currentlyPreviewingTheme() ); return ( - - + - { ! isRoot ? ( - - ) : ( - - ) } - - { ! isPreviewingTheme() - ? title - : sprintf( - 'Previewing %1$s: %2$s', - theme?.name?.rendered, - title - ) } - - { actions && ( -
- { actions } -
+ { ! isRoot ? ( + + ) : ( + + ) } + + { ! isPreviewingTheme() + ? title + : sprintf( + 'Previewing %1$s: %2$s', + theme?.name?.rendered, + title + ) } + + { actions && ( +
+ { actions } +
+ ) } +
+ { meta && ( + <> +
+ { meta } +
+ ) } -
- { meta && ( - <> -
- { meta } -
- - ) } - + + { footer && ( -