From 4696cd4285da7c44603b6ed988f4930a9b17e75c Mon Sep 17 00:00:00 2001 From: Aki Hamano Date: Sat, 6 Jul 2024 11:38:02 +0900 Subject: [PATCH 1/2] Font Library Modal: enhance pagination appearance --- .../font-library-modal/font-collection.js | 96 +++++++++++-------- .../font-library-modal/installed-fonts.js | 2 +- .../font-library-modal/style.scss | 27 ++++-- 3 files changed, 73 insertions(+), 52 deletions(-) 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..dbdbe42dfb7b9c 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,13 @@ 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, + previous, + next, +} from '@wordpress/icons'; /** * Internal dependencies @@ -429,7 +435,7 @@ function FontCollection( { slug } ) { { selectedFont && ( - + + - - + +