WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.53k stars 4.21k forks source link

FontCollection: Update pagination controls #67143

Open yogeshbhutkar opened 2 days ago

yogeshbhutkar commented 2 days ago

Fixes: #67123

What?

This PR unifies the navigation styles between Data Views and Font Navigation by updating the Pagination Code inside Font Navigation to match that of Data Views, enhancing visual consistency and defragmenting the user experience as mentioned in the issue.

Why?

Currently, the Font Navigation looks different from the Data Views Navigation. This PR brings consistency to both.

Testing Instructions

  1. Head over to Editor -> Styles -> Typography -> Install Fonts.
  2. Observe the Navigation rendered in the footer of the dialog.

Screenshots or screencast

https://github.com/user-attachments/assets/55743e0e-f269-4a16-8ad2-e68681909fed

github-actions[bot] commented 2 days ago

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: juanfra <juanfra@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.