diff --git a/packages/components/src/card/styles.js b/packages/components/src/card/styles.js index ad08bf2690e8f..cb5e103a40fd6 100644 --- a/packages/components/src/card/styles.js +++ b/packages/components/src/card/styles.js @@ -39,6 +39,7 @@ export const Footer = css` export const Content = css` height: 100%; + display: flex; `; export const Body = css` diff --git a/packages/edit-site/src/components/global-styles/screen-root.js b/packages/edit-site/src/components/global-styles/screen-root.js index 4d10d7dce5513..2cd59a1420384 100644 --- a/packages/edit-site/src/components/global-styles/screen-root.js +++ b/packages/edit-site/src/components/global-styles/screen-root.js @@ -13,6 +13,7 @@ import { CardFooter, CardMedia, FlexItem, + Flex, } from '@wordpress/components'; import { isRTL, __ } from '@wordpress/i18n'; import { chevronLeft, chevronRight, reusableBlock } from '@wordpress/icons'; @@ -41,20 +42,56 @@ function ScreenRoot() { return ( - - - - - - - - { !! variations?.length && ( + + + + + + + + + + { !! variations?.length && ( + + + + + { __( 'Browse styles' ) } + + + + + + ) } + + + + + + + { __( + 'Customize the appearance of specific blocks for the whole site.' + ) } + - + - - { __( 'Browse styles' ) } - + { __( 'Blocks' ) } - ) } - - - - - - - - - { __( - 'Customize the appearance of specific blocks for the whole site.' - ) } - - - + + + + - + { __( 'Randomize' ) } + + + ); } diff --git a/packages/edit-site/src/components/global-styles/style.scss b/packages/edit-site/src/components/global-styles/style.scss index 122b753dffa17..b506d721a8ced 100644 --- a/packages/edit-site/src/components/global-styles/style.scss +++ b/packages/edit-site/src/components/global-styles/style.scss @@ -61,6 +61,7 @@ margin-right: $grid-unit-20; margin-left: $grid-unit-20; width: unset; + .components-toggle-group-control { min-height: $grid-unit-40; } @@ -102,3 +103,8 @@ // Match the height of the rest of the icons (24px). height: $grid-unit * 3; } + +.edit-site-global-styles-sidebar__navigator-screen { + display: flex; +} +