diff --git a/packages/edit-site/src/components/global-styles/font-library-modal/font-collection.js b/packages/edit-site/src/components/global-styles/font-library-modal/font-collection.js index 9cb446b1d16ab0..b6f8dc46aa5641 100644 --- a/packages/edit-site/src/components/global-styles/font-library-modal/font-collection.js +++ b/packages/edit-site/src/components/global-styles/font-library-modal/font-collection.js @@ -28,7 +28,7 @@ import { } from '@wordpress/components'; import { debounce } from '@wordpress/compose'; import { sprintf, __, _x } from '@wordpress/i18n'; -import { moreVertical, chevronLeft } from '@wordpress/icons'; +import { moreVertical, chevronLeft, chevronRight } from '@wordpress/icons'; /** * Internal dependencies @@ -429,7 +429,7 @@ function FontCollection( { slug } ) { { selectedFont && ( + icon={ chevronLeft } + tooltipPosition="top" + /> { createInterpolateElement( sprintf( @@ -515,19 +509,10 @@ function FontCollection( { slug } ) { onClick={ () => setPage( page + 1 ) } disabled={ page === totalPages } accessibleWhenDisabled - > - - - - + icon={ chevronRight } + tooltipPosition="top" + /> + ) } ) } diff --git a/packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js b/packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js index 464540bc2b4ea7..7d3fa0cd703b64 100644 --- a/packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js +++ b/packages/edit-site/src/components/global-styles/font-library-modal/installed-fonts.js @@ -311,7 +311,7 @@ function InstalledFonts() { { isInstalling && } { shouldDisplayDeleteButton && ( diff --git a/packages/edit-site/src/components/global-styles/font-library-modal/style.scss b/packages/edit-site/src/components/global-styles/font-library-modal/style.scss index fb87f6fae505a4..5b9b595a1e6478 100644 --- a/packages/edit-site/src/components/global-styles/font-library-modal/style.scss +++ b/packages/edit-site/src/components/global-styles/font-library-modal/style.scss @@ -49,17 +49,24 @@ $footer-height: 70px; // It should be 120px (72px modal header height + 48px tab height) padding-top: $header-height + $grid-unit-15 + $grid-unit-60; } +} - .font-library-modal__tabpanel-layout__footer { - border-top: 1px solid $gray-300; - margin: 0 #{$grid-unit-40 * -1} #{$grid-unit-40 * -1}; - padding: $grid-unit-20 $grid-unit-40; - position: absolute; - bottom: $grid-unit-40; - width: 100%; - height: $footer-height; - background-color: $white; - } +.font-library-modal__footer { + border-top: 1px solid $gray-300; + margin: 0 #{$grid-unit-40 * -1} #{$grid-unit-40 * -1}; + padding: $grid-unit-20 $grid-unit-40; + position: absolute; + bottom: $grid-unit-40; + width: 100%; + height: $footer-height; + background-color: $white; +} + +.font-library-modal__page-selection { + font-size: 11px; + text-transform: uppercase; + font-weight: 500; + color: $gray-900; } .font-library-modal__tabpanel-layout .components-base-control__field {